summaryrefslogtreecommitdiff
path: root/1301/CH26/EX26.4/26_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '1301/CH26/EX26.4/26_4.sce')
-rwxr-xr-x1301/CH26/EX26.4/26_4.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1301/CH26/EX26.4/26_4.sce b/1301/CH26/EX26.4/26_4.sce
new file mode 100755
index 000000000..2c54671d0
--- /dev/null
+++ b/1301/CH26/EX26.4/26_4.sce
@@ -0,0 +1,9 @@
+clc;
+p=1; //atm
+v=1000; //volume in litres
+t=673; //Kelvin
+R=0.0821; //constant in atm-l/mole-K
+n=(p*v)/(R*t); //calculating n
+disp(n,"n = "); //displaying result
+disp(6.03*159.7,"Mass = "); //displaying result
+disp(12.1*55.85,"Mass of Fe = "); //displaying result \ No newline at end of file