I have two sets of numbers. The first set is 1 to 4. The second set is 0 to 190. What is the calculation to get the proportionate number in the second set if a number in the first set is, for example, 1.2? Math is not my forte!
Ratio between two sets of numbers?
0
$\begingroup$
abstract-algebra
algebra-precalculus
1 Answers
1
It is $\displaystyle\frac{1.2-1}{4-1}\cdot (190-0) +0$.
-
0Can you express that equation without the fraction? For a programming equation? – 2012-09-27
-
0If your input is $x$, then to go from $[1,4]$ to $[0,190]$, compute $(x-1)*190/3$. – 2012-09-27
-
0That's it, thanks! – 2012-09-27