summaryrefslogtreecommitdiff
path: root/3648/CH11/EX11.1/Ex11_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH11/EX11.1/Ex11_1.sce')
-rw-r--r--3648/CH11/EX11.1/Ex11_1.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3648/CH11/EX11.1/Ex11_1.sce b/3648/CH11/EX11.1/Ex11_1.sce
new file mode 100644
index 000000000..e5d03b2a6
--- /dev/null
+++ b/3648/CH11/EX11.1/Ex11_1.sce
@@ -0,0 +1,16 @@
+//Example 11_1
+clc();
+clear;
+//To find out how much heat is required to change the temperature
+//With 400 Grams of water
+c=1 //units in cal/g Centigrade
+m=400 //Units in gm
+t=5 //Units in centigrade
+q=c*m*t //Units in Cal
+printf("The heat required for 400 gm of water is Q=%d Cal\n",q)
+//With 400 grams of copper
+c=0.093 //units in cal/g Centigrade
+m=400 //Units in gm
+t=-5 //Units in centigrade
+q=c*m*t //Units in Cal
+printf("The heat required for 400 gm of copper is Q=%d Cal\n",q)