'I am trying to solve a equation with two unkown and trying to find the root of both unkown and getting a cant convert expression to float error
import sympy as sym
import math as math
sym.init_printing()
s3,s4 = sym.symbols('s3,s4')
f= sym.Eq(15*math.cos(0.7)+30*math.cos(s3)-40-35*math.cos(s4),0)
g= sym.Eq(15*math.sin(0,7)+30*math.sin(s3)-35*math.sin(s4),0)
print(sym.solve([f,g],(s3,s4)))
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
