hey guys,
For my study I need to plot a p-V-diagramm,
here are the data:
adiabaric compression:
T1 = 343.15 K, T2 = 423.15 K
p1 = 100000 Pa, p2 = 152061.995 Pa
V1 = 0,0285 m^3, V2 = 0.0243 m^3
isobar compression:
T3 = 423.15 K, T4 = 343.15 K
p3 = 152061.995
V3 = 0.0243 m^3, V4 = 0.0197 m^3
isothermal expansion:
T5 = 343.15 K
p5 = 152061.995 Pa
p6 = 100000 Pa
V5 = 0.0197 m^3
V6 = 0.0285 m^3
I tried to plot it with folowing code:
Vv2 = linspace(0.0285, 0.0243, 42);
kappa = 20.78618/12.471708;
p(i) = (p1*(Vv1^kappa))./(Vv2(i)^kappa);
p3=linspace(152061, 152061, 42);
Vv3 = linspace(0.0243, 0.0197, 42);
Vv4 = linspace(0.0197, 0.0285, 88);
p4=1.520619949963026e+05;
p5(j) = (p4*Vv34)./(Vv4(j));
ylabel('Pressure p [Pa]')
legend('adiabaric compression', 'isobar compression', 'isothermal expansion')
The diagramm should look like in picture in the attachment. Can someone help me to plot this diagram or explain how I can solve it numericly?
Best regards