System of equation solving problem
Show older comments
Hi everybody!
I have the following system of equations
syms A1X A1Y NA7 P1X P1Y NP2 AY D2X C1X D2Y C1Y
ND1=0
MS=0
A0X=0
MA=3095.2
MB=19950.33
QO=0
QE=4774.2
teta=0.71
X=18
P1P2=3.98
P1D1=4.61
G=9.81
YP1A1=0.432
LGB=3.25
P1A1=2.444
M=351.21
LX=4.317
ee1=A1X-ND1==0
ee2=A1Y+NA7-MA*G-QE*X-QO*X==0
ee3=NA7*X-QO*(X^2)/2-MA*G*(X/2)-QE*(X^2)/2==0
ee4=P1X+ND1-A1X==0
ee5=P1Y+NP2-A1Y-MB*G==0
ee6=NP2*P1P2+A1X*YP1A1-MB*G*LGB-ND1*P1D1-A1Y*P1A1==0
ee7=NA7+14*AY-QE*X-QO*X==0
ee8=MS-M*G*(X/12+3*X/12+5*X/12+7*X/12+9*X/12)-(3/4)*M*G*11*X/12-AY*(15*X/6+X)==0
ee9=A1X+A0X+D2X-C1X==0
ee10=A1Y+D2Y-AY-C1Y-M*G/2==0
ee11=MS+LX/2*(C1X*cos(teta)-C1Y*sin(teta)-M*G*sin(teta)/2)+LX*(D2X*sin(teta)-D2X*cos(teta))==0
sol = solve([ee1, ee2, ee3 , ee4 , ee5 , ee6 , ee7 , ee8 , ee9 , ee10 , ee11], [A1X, A1Y, NA7, P1X, P1Y, NP2, AY, D2X, C1X, D2Y, C1Y ])
But when solving, it returns
sol =
A1X: [0×1 sym]
A1Y: [0×1 sym]
NA7: [0×1 sym]
P1X: [0×1 sym]
P1Y: [0×1 sym]
NP2: [0×1 sym]
AY: [0×1 sym]
D2X: [0×1 sym]
C1X: [0×1 sym]
D2Y: [0×1 sym]
C1Y: [0×1 sym]
I doesn't solve it and I don't know why. Can anybody help
Thank you in advance
Accepted Answer
More Answers (0)
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!