summaryrefslogtreecommitdiff
path: root/2510/CH23
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2510/CH23
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 '2510/CH23')
-rwxr-xr-x2510/CH23/EX23.6/Ex23_6.sce11
-rwxr-xr-x2510/CH23/EX23.7/Ex23_7.sce12
2 files changed, 23 insertions, 0 deletions
diff --git a/2510/CH23/EX23.6/Ex23_6.sce b/2510/CH23/EX23.6/Ex23_6.sce
new file mode 100755
index 000000000..4c50544f7
--- /dev/null
+++ b/2510/CH23/EX23.6/Ex23_6.sce
@@ -0,0 +1,11 @@
+//Variable declaration:
+Q = 20000 //Fuel input (Btu)
+e = 1 //Energy produced (kW.h)
+Btu = 3412 //Units Btu in 1 kW.h
+
+//Calulation:
+ER = Q/Btu //Energy requirement in 1990 (kW.h)
+E = e/ER*100 //Efficiency of energy conversion (%)
+
+//Result:
+printf("The efficiency of energy conversion is : %.1f %%",E)
diff --git a/2510/CH23/EX23.7/Ex23_7.sce b/2510/CH23/EX23.7/Ex23_7.sce
new file mode 100755
index 000000000..cf3dec1b3
--- /dev/null
+++ b/2510/CH23/EX23.7/Ex23_7.sce
@@ -0,0 +1,12 @@
+//Variable declaration:
+ADL1 = 2 //Average daily load (MW)
+R = 25/100 //Reduction in electrical load (%)
+
+//Calculation:
+L = 1-R //New load fraction
+ADL2 = ADL1*L //New average daily load (MW)
+AR = ADL1-ADL2 //Average reduction in electrical load (MW)
+
+//Result:
+printf("The new Average daily load for the plant is : %f MW.",ADL2)
+printf("The average reduction in electrical load is : %f MW.",AR)