summaryrefslogtreecommitdiff
path: root/3850/CH25/EX25.2/Ex25_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3850/CH25/EX25.2/Ex25_2.sce')
-rw-r--r--3850/CH25/EX25.2/Ex25_2.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3850/CH25/EX25.2/Ex25_2.sce b/3850/CH25/EX25.2/Ex25_2.sce
new file mode 100644
index 000000000..d04ca5118
--- /dev/null
+++ b/3850/CH25/EX25.2/Ex25_2.sce
@@ -0,0 +1,18 @@
+
+//To calculate the heat supplied to the block
+
+//Example 25.2
+
+clear;
+
+clc;
+
+m=60;//mass of a copper block in grams
+
+s=0.09;//specific heat capacity of copper in (cal/g-degree celsius)
+
+t=20;//temperature increased by degree celcius
+
+Q=m*s*t;//formula for finding the heat supplied to the block
+
+printf("Heat=%f cal",Q);