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 --- 2510/CH9/EX9.2/Ex9_2.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 2510/CH9/EX9.2/Ex9_2.sce (limited to '2510/CH9/EX9.2/Ex9_2.sce') diff --git a/2510/CH9/EX9.2/Ex9_2.sce b/2510/CH9/EX9.2/Ex9_2.sce new file mode 100755 index 000000000..77b5d1425 --- /dev/null +++ b/2510/CH9/EX9.2/Ex9_2.sce @@ -0,0 +1,14 @@ +//Variable declaration: +//From example 9.1: +R = 0.0398 //Theral resistance (°F.h/Btu) +Btu = 3.412 //Btu/h in a watt +C = 1.8 //Change in degree fahrenheit for a degree change in celsius +K = 1 //Change in degree celsius for a unit change in Kelvin + +//Calculation: +Rc = R*Btu/C //Thermal resistance in degree cesius per watt (°C/W) +Rk = Rc/K //Thermal resistance in Kelvin per watt (K/W) + +//Result: +printf("The thermal resistance in °C/W is : %.3f °C/W.",Rc) +printf("The thermal resistance in K/W is : %.3f K/W.",Rk) -- cgit