I have a very simple problem but I feel like I am brain-dead.
I cant figure it out how to calculate this in Java:
1321 = 0
1771 = 640
1500 = ?
Thanks.
Edit: Sorry for no context. (And english not my first language) I must basically calculate the value that number 1500 represents. If 1321 is min (=0) and 1771 is max (=640) where does 1500 fall in (between 0 and 640) ?
I hope I am more clear now :)
The answer comes from the equation of the line passing through two known points. Have you seen that in school algebra?
– Jyrki Lahtonen Jul 10 '12 at 11:04