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 /3428/CH21/EX14.21.17 | |
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 '3428/CH21/EX14.21.17')
-rw-r--r-- | 3428/CH21/EX14.21.17/Ex14_21_17.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3428/CH21/EX14.21.17/Ex14_21_17.sce b/3428/CH21/EX14.21.17/Ex14_21_17.sce new file mode 100644 index 000000000..5de637d7f --- /dev/null +++ b/3428/CH21/EX14.21.17/Ex14_21_17.sce @@ -0,0 +1,14 @@ +//Section-14,Example-4,Page no.-PC.31
+//To calculate pressure using ideal gas equation and vanderwall`s gas equation.
+clc;
+n=12
+R=0.0821
+T=298
+V=10.0
+P_1=((n*R*T)/V)
+disp(P_1,'Pressure from ideal gas equation(atm)')
+a=1.49
+b=0.0399
+P_2=(((n*R*T)/(V-(n*b)))-((a*n^2)/(V^2)))
+disp(P_2,'Pressure from Vander walls gas equation(atm)')
+
|