From f35ea80659b6a49d1bb2ce1d7d002583f3f40947 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:38:01 +0530 Subject: updated the code --- 1388/CH3/EX3.2/3_2.sce | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to '1388/CH3/EX3.2/3_2.sce') diff --git a/1388/CH3/EX3.2/3_2.sce b/1388/CH3/EX3.2/3_2.sce index 45200a6b6..ab0cff38b 100755 --- a/1388/CH3/EX3.2/3_2.sce +++ b/1388/CH3/EX3.2/3_2.sce @@ -1,11 +1,11 @@ -clc -//initialisation of variables -P= 0.0060 //atm -Vl= 0.0181 //l -H= -10730 //cal -V2= 22.4 //l -//CALCULATIONS -W= (V2-P*V1)*(1.987/.08205) -E= H+W -//RESULTS -printf (' increase in energy= %.f cal ',E+4) +clc +//initialisation of variables +P= 0.0060 //atm +Vl= 0.0181 //l +H= -10730 //cal +V2= 22.4 //l +//CALCULATIONS +W= (V2-P*Vl)*(1.987/.08205) +E= H+W +//RESULTS +printf (' increase in energy= %.f cal ',E+4) \ No newline at end of file -- cgit