solve two simultaneous equations in matlab
Hi,
I am trying to solve two simultaneous equations
in matlab. the equations are attached here
and the matlab code i have written is also attached here.
Please suggest us for that code.
error displayed in matlab as
??? Error using ==> solve at 77
' 0=(N21.*I).*(e1.^N21-x2.^N21)-(N11./K).*(e3.^N11-e2.^N11) ' is not a valid expression or equation.
Error in ==> sym.solve at 49
[varargout{1:max(1,nargout)}] = solve(S{:});
Error in ==> neutral_oxide_outside_1 at 27
[x1 x2]=solve(eq1,eq2,x1,x2)
Thanks in advance
I am trying to solve two simultaneous equations
in matlab. the equations are attached here
and the matlab code i have written is also attached here.
Please suggest us for that code.
error displayed in matlab as
??? Error using ==> solve at 77
' 0=(N21.*I).*(e1.^N21-x2.^N21)-(N11./K).*(e3.^N11-e2.^N11) ' is not a valid expression or equation.
Error in ==> sym.solve at 49
[varargout{1:max(1,nargout)}] = solve(S{:});
Error in ==> neutral_oxide_outside_1 at 27
[x1 x2]=solve(eq1,eq2,x1,x2)
Thanks in advance
0
Comments