summaryrefslogtreecommitdiff
path: root/2741/CH8/EX8.4/Chapter8_Example4.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2741/CH8/EX8.4/Chapter8_Example4.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2741/CH8/EX8.4/Chapter8_Example4.sce')
-rwxr-xr-x2741/CH8/EX8.4/Chapter8_Example4.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2741/CH8/EX8.4/Chapter8_Example4.sce b/2741/CH8/EX8.4/Chapter8_Example4.sce
new file mode 100755
index 000000000..f99468f6a
--- /dev/null
+++ b/2741/CH8/EX8.4/Chapter8_Example4.sce
@@ -0,0 +1,15 @@
+clc
+clear
+//Input data
+d1=1.75;//The thickness of the wood in cm
+d2=3;//The thickness of the cork in cm
+t2=0;//The temperature of the inner surface of the cork in degree centigrade
+t1=12;//The temperature of the outer surface of the wood in degree centigrade
+K1=0.0006;//The thermal conductivity of wood
+K2=0.00012;//The thermal conductivity of cork
+
+//Calculations
+T=(((K1*t1)/d1)+((K2*t2)/d2))/((K1/d1)+(K2/d2));//The temperature of the interface in degree centigrade
+
+//Output
+printf('The temperature of the interface is T = %3.2f degree centigrade ',T)