I took Algebra and Geometry in high school, never thought I'd use them, then became a programmer. I guess I was wrong.
To date, I have the hardest time taking equations and "flipping them," ie: rewriting an equation to find the reverse. For the current problem I'm dealing with, I have a formula that converts floats to pounds using a given ratio:
pounds = float * (1.0 / ratio)
How do I flip this to take pounds
and ratio
and solve for float
? What's the theory and logic behind this? I'd like to understand how it works so I can do it on my own. Can anyone walk me through how this would be done so I can understand how to change my formulae to solve things backwards?
float = ?