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 /2873/CH3/EX3.13/Ex3_13.sce | |
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 '2873/CH3/EX3.13/Ex3_13.sce')
-rwxr-xr-x | 2873/CH3/EX3.13/Ex3_13.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/2873/CH3/EX3.13/Ex3_13.sce b/2873/CH3/EX3.13/Ex3_13.sce new file mode 100755 index 000000000..8d9d8df85 --- /dev/null +++ b/2873/CH3/EX3.13/Ex3_13.sce @@ -0,0 +1,22 @@ +// Display mode
+mode(0);
+// Display warning for floating point exception
+ieee(1);
+clear;
+clc;
+disp("Engineering Thermodynamics by Onkar Singh Chapter 3 Example 13")
+Qadd=5000;//heat supplied in boiler in J/s
+disp("work done by turbine(Wt)in J/s is 25% of heat added i.e")
+disp("Wt=.25*Qadd")
+Wt=.25*Qadd
+disp("heat rejected by condensor(Qrejected)in J/s is 75% of head added i.e")
+disp("Qrejected=.75*Qadd")
+Qrejected=.75*Qadd
+disp("and feed water pump work(Wp)in J/s is 0.2% of heat added i.e")
+disp("Wp=(-)0.002*Qadd")
+Wp=0.002*Qadd
+disp("capacity of generator(W)=(Wt-Wp)/1000 in Kw")
+W=(Wt-Wp)/1000
+
+
+
|