summaryrefslogtreecommitdiff
path: root/821/CH4/EX4.8/4_8.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /821/CH4/EX4.8/4_8.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 '821/CH4/EX4.8/4_8.sce')
-rwxr-xr-x821/CH4/EX4.8/4_8.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/821/CH4/EX4.8/4_8.sce b/821/CH4/EX4.8/4_8.sce
new file mode 100755
index 000000000..20893de3c
--- /dev/null
+++ b/821/CH4/EX4.8/4_8.sce
@@ -0,0 +1,10 @@
+printf('The volume of 1 mole of H2 at 1 atm and 273.15K=22.415Litres');
+printf('\nThe volume at 0.5atm is obtained by considering the constancy of PV');
+P1=1;
+V1=22.415;
+P2=0.5;
+V2=(P1*V1)/P2;//Volume at 0.5atm in litres//
+printf('\nVolume at 0.5atm of H2 at 273.15K=V2=%fLitres',V2);
+MH2=2;//molecular weight of H2//
+DH2=MH2/V2;//density of H2 in gram per litre//
+printf('\nDensity of H2=DH2=%fgram per litre',DH2);