summaryrefslogtreecommitdiff
path: root/479/CH3/EX3.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /479/CH3/EX3.1
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '479/CH3/EX3.1')
-rwxr-xr-x479/CH3/EX3.1/Example_3_1.sce17
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