diff options
author | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
commit | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch) | |
tree | eb72842d800ac1233e9d890e020eac5fd41b0b1b /1388/CH3/EX3.2/3_2.sce | |
parent | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff) | |
download | Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2 Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip |
updated the code
Diffstat (limited to '1388/CH3/EX3.2/3_2.sce')
-rwxr-xr-x | 1388/CH3/EX3.2/3_2.sce | 22 |
1 files changed, 11 insertions, 11 deletions
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 |