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 /2345/CH15/EX15.5/Ex15_5.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 '2345/CH15/EX15.5/Ex15_5.sce')
-rwxr-xr-x | 2345/CH15/EX15.5/Ex15_5.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/2345/CH15/EX15.5/Ex15_5.sce b/2345/CH15/EX15.5/Ex15_5.sce new file mode 100755 index 000000000..38560dd52 --- /dev/null +++ b/2345/CH15/EX15.5/Ex15_5.sce @@ -0,0 +1,14 @@ +//finding mass and energy
+//Example 15.5(pg 395)
+clc
+clear
+P=25//Output of diesel engine in kW
+s=12500//calorific value of fuel oil in k-cal/kgm
+e=0.35//overall efficiency of diesel set
+P1=P/e//input energy required in 1 hour in kWh
+P2=P1*860//input energy in kcal
+m=P2/s//mass of oil needed per hr in kgm
+w=1000//weight of 1 ton of oil in kgm
+Eg=(P*w)/m//Energy generated by 1ton of oil in kWh
+printf('(i)Mass of oil required per hr is %3.3f kgm \n',m)
+printf('(ii)Eletrical energy generated per ton of fuel is %4.1f Kwh',Eg)
|