diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1913/CH2/EX2.11 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1913/CH2/EX2.11')
-rwxr-xr-x | 1913/CH2/EX2.11/ex11.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/1913/CH2/EX2.11/ex11.sce b/1913/CH2/EX2.11/ex11.sce new file mode 100755 index 000000000..cc4cebb9f --- /dev/null +++ b/1913/CH2/EX2.11/ex11.sce @@ -0,0 +1,16 @@ +clc
+clear
+//Input data
+E1=4000;//Enthalpy at entrance in kJ/Kg
+E2=4100;//Enthalpy at exit in kJ/kg
+V1=50;//Velocity at entrance in m/s
+V2=20;//Velocity at exit in m/s
+h1=50;//Height at the entrance
+h2=10;//Height at the exit
+m=1;//mass flow rate to the system in kJ/s
+Q=200;//Heat transfer rate to the system in kJ/s
+g=9.8;//Gravitational constant in m/s^2
+
+//Calculations
+P=m*(((V1^2-V2^2)/(2000))+(g*(h2-h1)/1000)+(E1-E2))+Q;//Power capacity of the system in kW
+printf('Power capacity of the system P = %3.4f kW ',P)
|