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 --- 581/CH1/EX1.5/Example1_5.sci | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 581/CH1/EX1.5/Example1_5.sci (limited to '581/CH1/EX1.5/Example1_5.sci') diff --git a/581/CH1/EX1.5/Example1_5.sci b/581/CH1/EX1.5/Example1_5.sci new file mode 100755 index 000000000..0050ffdeb --- /dev/null +++ b/581/CH1/EX1.5/Example1_5.sci @@ -0,0 +1,14 @@ + +clear; +clc; + +printf("\t Example 1.5\n"); +x=poly([0],'x'); +T1=293; //Temperature of air around thermocouple, K +T2=373; //Wall temperature, K +h=75; // Average Heat Transfer Coefficient, W/(m^2*K) +s=5.67*10^-8; // stefan Boltzman constant, W/(m^2*K^4) +x=roots(h*(x-T1)+s*(x^4-T2^4)); +y=x(4)-273; +printf("\t thermocouple Temperature is : %.1f C\n",y); +//end \ No newline at end of file -- cgit