HayManMarc
Member
Calling all math gurus and wizards...
I don't know how to explain this with proper terminology, so I'll do my best and hope you understand.
I need an algorithm that will convert a number line. I have a number line from 270 to 1600. I would like an algorithm that will convert that number line to be from 2 to 5. So if I input 270, it returns 2. If I input 1600, it returns 5. If I input 650, it returns the corresponding place on the number line (with decimal).
I've been messing with this for over an hour and I just can't figure it out.
I don't know how to explain this with proper terminology, so I'll do my best and hope you understand.
I need an algorithm that will convert a number line. I have a number line from 270 to 1600. I would like an algorithm that will convert that number line to be from 2 to 5. So if I input 270, it returns 2. If I input 1600, it returns 5. If I input 650, it returns the corresponding place on the number line (with decimal).
I've been messing with this for over an hour and I just can't figure it out.
Last edited: