From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3850/CH25/EX25.2/Ex25_2.sce | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 3850/CH25/EX25.2/Ex25_2.sce (limited to '3850/CH25/EX25.2/Ex25_2.sce') 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); -- cgit