I'm trying to calculate the adiabatic flame temperature. I have this script, I'm trying to get a value of T out, how do I make it work? Or is there a better way of doing it?
HRxn=((4*-393.5)+(5*-241.83)-(-124.73))*1000; %dH reaction
C=(240.2*298)+(1.51*298^2)-(9.2e-5*298^3)+(1.25e-8*298^4);%298 evaluated
X=(240.2*T)+(1.51*T.^2)-(9.2e-5*T.^3)+(1.25e-8*T.^4);
S=solve(HRxn+(X-C)==0,T)
Thanks!
Add
before your lines of code, because you didn't defined it before. Then your solution are made visible by