Plotting system of equations for a phase diagram
Show older comments
Currently I am struggling to graph a phase diagram similar looking to the attached photo. I have two equations, which depend on two variants of X (one for each line on the graph, respectively called x_1 and x_2. The formulas look like so
Equation 1: ln(x_1/x_2)=2070(1/T-1/1726)
Equation 2: ln((1-x_1)/(1-x_2))=1580(1/T-1/1357)
It should be possible to solve for x_1 and x_2 then overlay two graphs, one being x_1 on the x-axis and T on the y-axis, and the other with x_2 on the x-axis and T on the y-axis. The bounds for the graph are 0<x<1 and 1357<T<1726. Thank you so much for your help!

2 Comments
David Goodmanson
on 23 Apr 2020
Hi Eric,
In the first equation, the maximum possible value of the rhs is at T = 1/1357: 10*(1/1357-1/1726) = .0016
so log(x1) - log(x2) = .0016 or less. That's a really small amount, so x1 and x2 will always be very near each other in value and the two curves will almost be overlays. Qualitatively that is a lot different than the plot above. Are you positive about the 10 and 9.6?
Eric Yoshida
on 23 Apr 2020
Accepted Answer
More Answers (0)
Categories
Find more on Number games in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!