summaryrefslogtreecommitdiff
path: root/1301/CH26/EX26.9
diff options
context:
space:
mode:
Diffstat (limited to '1301/CH26/EX26.9')
-rwxr-xr-x1301/CH26/EX26.9/26_9.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1301/CH26/EX26.9/26_9.sce b/1301/CH26/EX26.9/26_9.sce
new file mode 100755
index 000000000..5afc1644e
--- /dev/null
+++ b/1301/CH26/EX26.9/26_9.sce
@@ -0,0 +1,11 @@
+clc;
+p=5; //atm
+v=1; //volume in litres
+t=293; //Kelvin
+R=0.0821; //constant in atm-l/mole-K
+n=(p*v)/(R*t); //calculating n
+disp(n,"n = "); //displaying result
+m=n*32; //moles of O2
+disp(m,"Moles of O2 = "); //displaying result
+d=m/v; //cal density
+disp(d,"Density in g/litre = "); //displaying result \ No newline at end of file