summaryrefslogtreecommitdiff
path: root/587/CH1/EX1.7/example1_7.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /587/CH1/EX1.7/example1_7.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 '587/CH1/EX1.7/example1_7.sce')
-rwxr-xr-x587/CH1/EX1.7/example1_7.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/587/CH1/EX1.7/example1_7.sce b/587/CH1/EX1.7/example1_7.sce
new file mode 100755
index 000000000..c710e0b8c
--- /dev/null
+++ b/587/CH1/EX1.7/example1_7.sce
@@ -0,0 +1,10 @@
+clear;
+clc;
+
+//Example1.7[Conversion between SI and English Units]
+W_to_btu_p_h=3.41214;//Conersion from Watt to btu per hour[btu/h]
+m_to_ft=3.2808;//Conversion from meter to english unit feet[ft]
+deg_C_to_deg_F=1.8;//Conversion from degree Celcius to degree Farenhiet
+W_per_m_deg_C=W_to_btu_p_h/(m_to_ft*deg_C_to_deg_F);//Conversion factor for 1W/m.degree Celcius[Btu/h.ft.degree Farenhiet]
+k_brick=0.72*W_per_m_deg_C;//[Btu/h.ft.degree Farenhiet]
+disp("Btu/h.ft.degree Farenhiet",k_brick,"The thermal conductivity of the brick in English units is")