summaryrefslogtreecommitdiff
path: root/3648/CH11/EX11.1
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH11/EX11.1')
-rw-r--r--3648/CH11/EX11.1/Ex11_1.sce16
-rw-r--r--3648/CH11/EX11.1/Ex11_1.txt3
2 files changed, 19 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)
diff --git a/3648/CH11/EX11.1/Ex11_1.txt b/3648/CH11/EX11.1/Ex11_1.txt
new file mode 100644
index 000000000..a987bf64c
--- /dev/null
+++ b/3648/CH11/EX11.1/Ex11_1.txt
@@ -0,0 +1,3 @@
+The heat required for 400 gm of water is Q=2000 Cal
+The heat required for 400 gm of copper is Q=-186 Cal
+ \ No newline at end of file