How to draw the curve of the following equations?
1 view (last 30 days)
Show older comments
Two equations:
1=(1-x)*(exp(-30800/(8.314*y)+10.29))*exp(-500*x^2/(8.314*y))+x*exp(-31680/(8.314*y)+10.58)*exp(-500*(1-x)^2/(8.314*y))
x2=x.*exp(-31680./(8.314.*360)+c2).*exp(-500.*(1-x).^2/(8.314.*360))
I know how to draw the curve of (x,y), but how can I draw (x2,y)? It is driving me crazy.
0 Comments
Answers (1)
Walter Roberson
on 19 Nov 2013
solve the second equation for x. Substitute that x into the first equation and solve it for y. You will then have a formula for y in terms of x2. Plot.
You are not going to get a nice formula; you are going to get a mess that involves roots of transcendental equations to express x. Those roots are going to have to be evaluated numerically
What sort of value were you thinking of for c2, and what range of x2 were you thinking of?
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!