I am trying to improve my math skills, and I am trying to solve this problem:
I have values that can be in the range between 550 and 1280.
550 -> 0 (minimum value represents zero)
1280 -> 15 (maximum value represents 15)
780 -> ??
What is the mathematical formula to calculate the corresponding value if, for example, the input value for this formula is 780?
excuse my ignorance
((15-0)/1280-550) * (780-550)+0the result is negative.... – yavg Nov 09 '20 at 14:19