I need help with some math.
I need to turn 4 to 20 into a scale of 0 to 5
example:
I need math to turn this:
4 = 0 pounds
12 = 500 pounds
20 = 1000 pounds
into this:
0 = 0 pounds
2.5 = 500 pounds
5 = 1000 pounds
so it is scaled.
can it be done?