solving three non linear equation simultaneously??
Ältere Kommentare anzeigen
i have following set of equations-
ex = (1/Ec)*(sigx - v*(sigy + sigz); ---(1)
ey = (1/Ec)*(sigy - v*(sigx + sigz); ---(2)
ez= (1/Ec)*(sigz - v*(sigy + sigx); ---(3)
where,
sigx= -(px*ex*Es + Pfx*Ef*ex + lx);
sigy= -(py*ey*Es + Pfy*Ef*ey + ly);
sigz= -(px*ex*Es + lz);
For equations (1) (2) and(3), known term is ex and hence sigx
Unknowns are ey and ez
Values of other terms are-
Ef = 180000;
Es= 2*10^5;
Ec= 25000;
fx=fy=420;
lx=0;
ly=5;
lz=0;
px=0.016;
py=0.024;
pz= 0.016;
v=0.15;
pfx=0.0125;
pfy=0.0125;
PROBLEM - when i am solving (2) and (3) simultaneously for a given value of ex and hence sigx , I am getting values of ey and ez which are not satisfying (1) equation. What is the reason for this contradiction? Please help!!
2 Kommentare
Birdman
am 30 Jan. 2018
What are your expected results for ey and ez?
udita pant
am 31 Jan. 2018
Akzeptierte Antwort
Weitere Antworten (1)
Torsten
am 30 Jan. 2018
0 Stimmen
As far as I can see, the equations are linear in the unknowns. So you only have to solve a system of linear equations using the "backslash" operator.
Best wishes
Torsten.
Kategorien
Mehr zu Numeric Solvers finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!