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 --- 2339/CH1/EX1.1.4/Ex1_4.sce | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 2339/CH1/EX1.1.4/Ex1_4.sce (limited to '2339/CH1/EX1.1.4/Ex1_4.sce') diff --git a/2339/CH1/EX1.1.4/Ex1_4.sce b/2339/CH1/EX1.1.4/Ex1_4.sce new file mode 100755 index 000000000..cc03dbed9 --- /dev/null +++ b/2339/CH1/EX1.1.4/Ex1_4.sce @@ -0,0 +1,11 @@ +clc +clear + +m=3000; //mass in kg +P=736; //Power in kW +t=5*3600; //Time in seconds +HV=27170 //Heating value in kJ/kg + +E=P/((m/t)*HV); +Eff=E*100; +printf('Thermal Efficiency= %2.2f percent',Eff); -- cgit