In java script we can create an input element that can convert a value from one speed measurement(Knots) to another(MPH).So for that we use formula MPH=knots*1.150779.