Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm doing some programming for a video game in which the player characters and monster enemies can move at different speeds on 2-dimensional, cell-based tile map. Examples of these speeds are as follows:

1600 ms = 0.625 tiles/s
1000 ms = 1 tile/s
800 ms = 1.25 tiles/s
400 ms = 2.5 tiles/s
100 ms = 10 tiles/s
25 ms = 40 tiles/s

The same mathematical formula is used to convert every one of the above equations (feed the formula the first value, out pops the second). Problem is my math skills are terrible and I can't figure out how to determine what that formula actually is. Help!?

share|cite|improve this question
up vote 1 down vote accepted

Second value = 1000/first value.

share|cite|improve this answer
Wow I'm retarded. Thank you so much! – delaccount992 Mar 4 '11 at 11:14
You're welcome. – Stefan Mar 4 '11 at 11:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.