I'm not sure I agree with your first sentence; if the integer increments once every 10ms then the value of 5000 should mean 50,000ms.

Breaking your equation down:

timesquared = time ^ 2 (assuming you mean time squared?)

interimtime = timesquared * 9.8

h = interimtime / 8

so if time = 500

timesquared = 250,000

interimtime = 2,450,000

h = 306,250

Is h now the height in micrometers (i.e. 0.3 metres)?

Assuming that is correct then just divide by 1000000 and put to the display.

11,928,403 members (52,600 online)

Email

Password

Sign in using