summaryrefslogtreecommitdiff
path: root/2705/CH2/EX2.3/Ex2_3.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /2705/CH2/EX2.3/Ex2_3.sce
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 '2705/CH2/EX2.3/Ex2_3.sce')
-rwxr-xr-x2705/CH2/EX2.3/Ex2_3.sce4
1 files changed, 2 insertions, 2 deletions
diff --git a/2705/CH2/EX2.3/Ex2_3.sce b/2705/CH2/EX2.3/Ex2_3.sce
index 0f6f799d4..cff50da55 100755
--- a/2705/CH2/EX2.3/Ex2_3.sce
+++ b/2705/CH2/EX2.3/Ex2_3.sce
@@ -14,10 +14,10 @@ del_u = -400; // Internal energy decreased ,[kJ/kg]
W = Q-del_u; // [kJ/kg]
mprintf('\n The Work done is, W = %f kJ/kg \n',W);
-if(W>0)
+if(W>0)
disp('Since W>0, so Work done by the engine per kilogram of working substance')
else
disp('Since <0, so Work done on the engine per kilogram of working substance')
end
-// End
+// End \ No newline at end of file