diff options
Diffstat (limited to '167/CH2/EX2.10/ex10.sce')
-rwxr-xr-x | 167/CH2/EX2.10/ex10.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/167/CH2/EX2.10/ex10.sce b/167/CH2/EX2.10/ex10.sce new file mode 100755 index 000000000..1dbdfb4a2 --- /dev/null +++ b/167/CH2/EX2.10/ex10.sce @@ -0,0 +1,11 @@ +//example 10
+// cooling of hot fluid in tank
+clear
+clc
+disp('suppose that there is no change in kinetic and potential energy ')
+u1=800 //initial internal energy in 800kJ
+win=100 //work done by paddle on system in kJ
+qout=500 //loss of energy from fluid
+disp('applying first law of thermodynamics ')
+u2=u1-qout+win //final internal energy in kJ
+printf("\n Hence,final internal energy of the fluid is = %.1f kJ. \n",u2);
\ No newline at end of file |