summaryrefslogtreecommitdiff
path: root/3428/CH21/EX14.21.2/Ex14_21_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3428/CH21/EX14.21.2/Ex14_21_2.sce
downloadScilab-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.2/Ex14_21_2.sce')
-rw-r--r--3428/CH21/EX14.21.2/Ex14_21_2.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3428/CH21/EX14.21.2/Ex14_21_2.sce b/3428/CH21/EX14.21.2/Ex14_21_2.sce
new file mode 100644
index 000000000..0c4b82950
--- /dev/null
+++ b/3428/CH21/EX14.21.2/Ex14_21_2.sce
@@ -0,0 +1,12 @@
+//Section-14,Example-2,Page no.-PC.8
+//To calculate the number of gas molecules left.
+clc;
+//PV=nRT
+P=(10^-5*(1/760))
+V=(10^-3*(1/1000))
+R=0.0821
+T=298
+n=((P*V)/(R*T))
+N_a=6.023*10^23 //1 mole gas=6.023*10^23 molecules
+N=n*N_a
+disp(N,'No. of gas molecules left')