From f35ea80659b6a49d1bb2ce1d7d002583f3f40947 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:38:01 +0530 Subject: updated the code --- 632/CH5/EX5.2/example5_2.sce | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to '632/CH5') 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 -- cgit