Escolar Documentos
Profissional Documentos
Cultura Documentos
%exercico 3
P x V = n x R x T.
%}
clc
clear all
close all
n = 1;
np = 20;
V0 = 1;
Vf = 20;
dt = fix((Vf - V0 + 1)/np);
Tc = 750;
T = Tc + 273;
R = 0.082;
for i=1:20
V = i*dt;
p = n * R * T/V;
fprintf('%5.1f \t %5.1f \n',V,p);
z(i,1) = V;
z(i,2) = p;
end
x = z(:,1);
y = z(:,2);
plot (x,y);
xlabel('V')
ylabel('p')
title('Curva V X P')
%endplot
volume preso
1.0 83.9
2.0 41.9
3.0 28.0
4.0 21.0
5.0 16.8
6.0 14.0
7.0 12.0
8.0 10.5
9.0 9.3
10.0 8.4
11.0 7.6
12.0 7.0
13.0 6.5
14.0 6.0
15.0 5.6
16.0 5.2
17.0 4.9
18.0 4.7
19.0 4.4
20.0 4.2
Curva V X P
90
80
70
60
50
p
40
30
20
10
0
0 2 4 6 8 10 12 14 16 18 20
V