Hi everybody, I have a problem with this equation: it represents the motion of a gas in a duct with friction (Fanno flow). I need to plot this function in a T-s plot, do you have any ideas? the Mach number changes along the curve... R=constant S_{2}-S_{1}=R*(M^{2}-1)*log(T_{2}/T_{1})$
What exactly do you want to plot? S_{2}-S_{1} vs. T_{2}, or vs. T_{2}/T_{1}? What variables does M (the Mach number?) depend on? Is it just a function of T? S and T? If it depends on both you'll need to do a contour plot. (The brute force way of doing a contour plot is basically to generate a grid of S and T points and then plot a point for every pair of values (T,S) that satisfy the equation).