summaryrefslogtreecommitdiff
path: root/632/CH5
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /632/CH5
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '632/CH5')
-rwxr-xr-x632/CH5/EX5.2/example5_2.sce13
1 files changed, 7 insertions, 6 deletions
diff --git a/632/CH5/EX5.2/example5_2.sce b/632/CH5/EX5.2/example5_2.sce
index e630e0e70..79229ae68 100755
--- a/632/CH5/EX5.2/example5_2.sce
+++ b/632/CH5/EX5.2/example5_2.sce
@@ -1,6 +1,7 @@
-//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 = ")
+//clc()
+P = 10^7;//Pa;
+N = 1000;
+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 = ") \ No newline at end of file