a) the code is: import numpy as np import matplotlib.pyplot as plt R=8.314 T=300 N=1 Va=1 Vb=2*Va g=5/3 Pa=N*R*T/Va Pb=Pa*(Va**g)/(Vb**g) l=np.arange(0,1,0.001) P1=l*Pb+(1-l)*Pa V1=l*Vb+(1-l)*Va V2=np.zeros(1000) P2=np.zeros(1000) for i in range (0,len(V2)): V2[i]=Vb-i/1000 P2[i]=Pa*(Va**g)/(V2[i]**g) c=P1[500]*(V1[500])**g V3=np.zeros(1000) P3=np.zeros(1000) for i in range (0,len(V2)): V3[i]=Vb-i/1000 P3[i]=c/(V3[i]**g) plt.plot(V1,P1) plt.plot(V2,P2) plt.plot(V3,P3) plt.plot(V1[500],P1[500],"o") plt.show() and the plot is: pd: i'm sorry i don't know how to pass some latex to html so i put it like images
I have a question, in the problem T06.3, is only one expansion curve and only one adiabatic curve? , or we need complete the cycle for come back to A state?.
ResponderBorrarI have a similar question for the problem T06.3, the curve means that we have first a rect line, then a line tangent to this fist line, and finally a curve that begins in our final point "B" and finishes at our starting point "A", so we have something similar to a triangle for this graph?
ResponderBorrarSorry for the late response. In problem 6.3 we first have an expansion which is represented by a straight line and then an adiabatic compression which takes the system back to its original state.
ResponderBorrarIt should be clear that you can obtain a cycle with these two processes. What may be causing the confusion is the fact that the system absorbs heat only along some part of the straight-line-process, and it passes heat to the environment only at some other part of it.