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 /884/CH5/EX5.12/Example5_12.sce | |
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 '884/CH5/EX5.12/Example5_12.sce')
-rwxr-xr-x | 884/CH5/EX5.12/Example5_12.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/884/CH5/EX5.12/Example5_12.sce b/884/CH5/EX5.12/Example5_12.sce new file mode 100755 index 000000000..ef1796009 --- /dev/null +++ b/884/CH5/EX5.12/Example5_12.sce @@ -0,0 +1,19 @@ +//Gas Stoichiometry
+
+clear;
+clc;
+
+printf("\t Example 5.12\n");
+
+R=0.0821;//universal Gas constant, L.atm/K.mol
+T=80+273;//temp in K
+P=823/760;//pressure in atm
+m=60;//mass of NaN3, g
+NaN3=65.02;//mol. mass of NaN3, g
+nN2=m*3/(2*NaN3);//moles of N2
+VN2=nN2*R*T/P;//from ideal gas law
+
+printf("\t the volume of N2 generated is : %4.1f L\n",VN2);
+
+
+//End
|