From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1985/CH16/EX16.1/Chapter16_example1.sce | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 1985/CH16/EX16.1/Chapter16_example1.sce (limited to '1985/CH16/EX16.1') diff --git a/1985/CH16/EX16.1/Chapter16_example1.sce b/1985/CH16/EX16.1/Chapter16_example1.sce new file mode 100755 index 000000000..4bf4c5e54 --- /dev/null +++ b/1985/CH16/EX16.1/Chapter16_example1.sce @@ -0,0 +1,13 @@ +clc +clear +//Input data +T1=(75+273)//Initial temperature in K +T2=(60+273)//Final temperature in K +T0=(30+273)//Surrounding temperature in K +t1=(5*60)//Time taken by the liquid to cool from 75 degrees C to 60 degrees C + +//Calculations +T3=(T2-T0)^2/(T1-T0)+T0//The temperature of the body after the next 5 minutes in K + +//Output +printf('The temperature of the body after the next 5 minutes is %3.0f K',T3) -- cgit