python solving equations for unknown variable
python
Solution
Try SymPy
In [1]: from sympy import *
In [2]: m = Symbol('m')
In [3]: g = 9.81
In [4]: w = m*g
In [5]: solve(w - 60, m)
Out[5]: [6.11620795107034]
Problem
is there any way where by i can solve an equation for its unknown value (without transposing) in python. are there any libraries which do this sort of calculations. eg: W=mg w=60,g=9.81 m=? Thanks