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 --- 3035/CH8/EX8.1/Ex8_1.sce | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 3035/CH8/EX8.1/Ex8_1.sce (limited to '3035/CH8/EX8.1/Ex8_1.sce') diff --git a/3035/CH8/EX8.1/Ex8_1.sce b/3035/CH8/EX8.1/Ex8_1.sce new file mode 100755 index 000000000..7ee1315c1 --- /dev/null +++ b/3035/CH8/EX8.1/Ex8_1.sce @@ -0,0 +1,11 @@ +// Variable Declaration +w = 0.8 //Coal to be burnt for every kWh of electric energy(kg) +C = 5000 //Calorific value of coal(kilo-calories/kg) + +// Calculation Section +heat_energy = C*w/860 //Heat energy of combustion of given coal(kWh) +efficiency = 1/heat_energy //Overall efficiency + + +// Result Section +printf('Overall efficiency of the plant = %.3f' ,efficiency) -- cgit