I need to know how to take an equation with a variable and have it calculate and output the value of said variable. example of the equation.
2900 = 1 * T * ((52 + 6) / 12)
I need the program to take all values and give me the value of ‘T’. Any and all help will be greatly appreciated 🙂
First rearrange the equation to the form T=….
becomes (for example)
Next replace the number with variables
then you write a function to calculate T given a-e
then you use it like this