summaryrefslogtreecommitdiff
path: root/3769/CH7/EX7.7/Ex7_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH7/EX7.7/Ex7_7.sce')
-rw-r--r--3769/CH7/EX7.7/Ex7_7.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3769/CH7/EX7.7/Ex7_7.sce b/3769/CH7/EX7.7/Ex7_7.sce
new file mode 100644
index 000000000..13ee9d50c
--- /dev/null
+++ b/3769/CH7/EX7.7/Ex7_7.sce
@@ -0,0 +1,18 @@
+clear
+//Given
+m=1
+c=1
+a=100 //W
+b=15
+t=7.5 //second
+P=1 //KW
+C=860 //Kcal
+
+//Calculation
+A=m*c*(a-b)
+B=P*t/60.0
+D=B*C
+n=A*a/D
+
+//Result
+printf("\n Efficiency of the kettle is %0.1f percentage",n)