I'm attempting to use matlab to solve a set of 4 nonlinear equations with 4 unknowns. This is what I've entered so far, but it keeps saying it cant find a solution. Any suggestions?
mf=.12;Yfin=.0826;Kg=(6.19*10^9)*exp(-15098/298);MW=29;V=.000268;P=101325;R=8315;M=.1;N=1.65;Yoxin=.9174;AF=16;Hf=40000000;Cp=1200;Tin=298;eqn1='mf*(Yfin-R1)-Kg*MW*V*((P/R*R2)^(M+N))*(((R1^M)*((.233*R3)^N))/1)'eqn2='mf*(Yoxin-R1)-(AF)*Kg*MW*V*((P/R*R2)^(M+N))*(((R1^M)*((.233*R3)^N))/1)'eqn3='1-R1-R3-R4'eqn4='(R1-Yfin)*Hf+Cp*(R2-Tin)'sol=fsolve(eqn1,eqn2,eqn3,eqn4,'R1','R2','R3','R4')
Best Answer