
25-02-2012, 17:42
|
 |
systems engineer (retired)
no team
|
|
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,089
|
|
|
Re: Complex math equation
Quote:
Originally Posted by neal
I was wondering if someone could help me figure out an equation for:
I want to scale a double (between 8-13) to be from 0 - 100.
So 8 will be 0, 9 will be 20, 13 will be 100, 12.5 will be 90 and so on.
I hope that makes sense and would appreciate if someone could help.
Thanks in advance!
|
y = 20*x - 160
|