From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2510/CH23/EX23.6/Ex23_6.sce | 11 +++++++++++ 2510/CH23/EX23.7/Ex23_7.sce | 12 ++++++++++++ 2 files changed, 23 insertions(+) create mode 100755 2510/CH23/EX23.6/Ex23_6.sce create mode 100755 2510/CH23/EX23.7/Ex23_7.sce (limited to '2510/CH23') 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) -- cgit