summaryrefslogtreecommitdiff
path: root/2345/CH2/EX2.20
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2345/CH2/EX2.20
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2345/CH2/EX2.20')
-rwxr-xr-x2345/CH2/EX2.20/Ex2_20.sce15
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)