diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /779/CH11 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '779/CH11')
-rwxr-xr-x | 779/CH11/EX11.3/11_3.sce | 5 | ||||
-rwxr-xr-x | 779/CH11/EX11.4/11_4.sce | 11 | ||||
-rwxr-xr-x | 779/CH11/EX11.6/11_6.sce | 18 |
3 files changed, 34 insertions, 0 deletions
diff --git a/779/CH11/EX11.3/11_3.sce b/779/CH11/EX11.3/11_3.sce new file mode 100755 index 000000000..9c081ec3d --- /dev/null +++ b/779/CH11/EX11.3/11_3.sce @@ -0,0 +1,5 @@ +Tb = 353;
+T = 303;
+R = 8.3143;
+P = 101.325*exp((88/R)*(1-(Tb/T)));
+disp("kPa",P,"Vapour pressure of benzene is ")
\ No newline at end of file diff --git a/779/CH11/EX11.4/11_4.sce b/779/CH11/EX11.4/11_4.sce new file mode 100755 index 000000000..d66f3ebf0 --- /dev/null +++ b/779/CH11/EX11.4/11_4.sce @@ -0,0 +1,11 @@ +T = (3754-3063)/(23.03-19.49);
+P = exp(23.03-(3754/195.2));
+R = 8.3143;
+Lsub = R*3754;
+Lvap = 3063*R;
+Lfu = Lsub-Lvap;
+disp("K",T,"Temperature of triple point is")
+disp("mm Hg",P,"Pressure of triple point is")
+disp("kJ/kg mol",Lsub,"Latent heat of sublimation is")
+disp("kJ/kg mol",Lvap,"Latent heat of vapourization is")
+disp("kJ/kg mol",Lfu,"Latent heat of fusion is")
\ No newline at end of file diff --git a/779/CH11/EX11.6/11_6.sce b/779/CH11/EX11.6/11_6.sce new file mode 100755 index 000000000..3a4fa20ec --- /dev/null +++ b/779/CH11/EX11.6/11_6.sce @@ -0,0 +1,18 @@ +R = 8.314;
+N1 = 0.5e-03; N2 = 0.75e-03; // Mole number of system 1 and 2 in kg/mol
+T1 = 200; T2 = 300;
+V = 0.02;
+Tf = ((N1*T1)+(N2*T2))/(N1+N2); // Final temperature
+Uf1 = (3/2)*R*N1*Tf;
+Uf2 = (3/2)*R*N2*Tf;
+Pf = (R*Tf*(N1+N2))/V;
+Vf1 = (R*N1*Tf)/Pf;
+Vf2 = V - Vf1;
+disp("System 1")
+disp("m3",Vf1,"Volume is")
+disp("kJ",Uf1,"Energy is")
+disp("System 2")
+disp("m3",Vf2,"Volume is")
+disp("kJ",Uf2,"Energy is")
+disp("K",Tf,"Final temperature is")
+disp("kPa",Pf,"Final Pressure is")
\ No newline at end of file |