summaryrefslogtreecommitdiff
path: root/632/CH5/EX5.2/example5_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '632/CH5/EX5.2/example5_2.sce')
-rwxr-xr-x632/CH5/EX5.2/example5_2.sce6
1 files changed, 6 insertions, 0 deletions
diff --git a/632/CH5/EX5.2/example5_2.sce b/632/CH5/EX5.2/example5_2.sce
new file mode 100755
index 000000000..e630e0e70
--- /dev/null
+++ b/632/CH5/EX5.2/example5_2.sce
@@ -0,0 +1,6 @@
+//clc()
+P = 10^7;//Pa;
+T = 500;//K
+R = 8.314;//Pa * L / mol K
+V = N * R * T / ( P * 1000);
+disp("m^3",V,"(a)Volume of CO2 calculated using ideal gas equation = ")