diff options
Diffstat (limited to '479/CH3/EX3.1')
-rwxr-xr-x | 479/CH3/EX3.1/Example_3_1.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/479/CH3/EX3.1/Example_3_1.sce b/479/CH3/EX3.1/Example_3_1.sce new file mode 100755 index 000000000..e9b3d2382 --- /dev/null +++ b/479/CH3/EX3.1/Example_3_1.sce @@ -0,0 +1,17 @@ +//Chemical Engineering Thermodynamics
+//Chapter 3
+//First Law of Thermodynamics
+
+//Example 3.1
+clear;
+clc;
+
+//Given
+W = -((2*745.6*(10^-3)/4.18)*3600);//work added to the system in Kcal/hr
+m = 10;//Amount of fluid in tank in Kg
+Q = -378;//Heat losses from the system in Kcal/hr
+
+//To calculate the change in internal energy
+delE=(Q-W)/m;// Change in internal energy in Kcal/hr kg
+mprintf('Change in Internal energy is %f Kcal/hr Kg',delE);
+//end
\ No newline at end of file |