diff options
Diffstat (limited to '2345/CH2/EX2.20/Ex2_20.sce')
-rwxr-xr-x | 2345/CH2/EX2.20/Ex2_20.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/2345/CH2/EX2.20/Ex2_20.sce b/2345/CH2/EX2.20/Ex2_20.sce new file mode 100755 index 000000000..3e741fb5e --- /dev/null +++ b/2345/CH2/EX2.20/Ex2_20.sce @@ -0,0 +1,15 @@ +//Finding heat efficiency
+//Example 2.20(pg. 57)
+clc
+clear
+m=1//mass in kg
+S=4200//specific heat of water
+T2=100,T1=15// temp in degree C
+H=m*S*(T2-T1)//heat utilised in J
+printf('Heat utilised is %6.2f Joules \n',H)
+W=500//wattage rating of kettle in volts
+t=15*60// time in sec
+Hd=W*t//heat developed in J
+printf('Heat developed is %6.2f Joules \n',Hd)
+He=(H/Hd)*100//Heat efficiency
+printf('Thus heat efficiency is %3.2f percent',He)
|