diff options
Diffstat (limited to '3035/CH8/EX8.1/Ex8_1.sce')
-rwxr-xr-x | 3035/CH8/EX8.1/Ex8_1.sce | 11 |
1 files changed, 11 insertions, 0 deletions
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) |