diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /914/CH4/EX4.2/ex4_2.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '914/CH4/EX4.2/ex4_2.sce')
-rwxr-xr-x | 914/CH4/EX4.2/ex4_2.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/914/CH4/EX4.2/ex4_2.sce b/914/CH4/EX4.2/ex4_2.sce new file mode 100755 index 000000000..05b9dd0e4 --- /dev/null +++ b/914/CH4/EX4.2/ex4_2.sce @@ -0,0 +1,15 @@ +clc;
+warning('off');
+printf("\n\n example4.2 - pg100");
+// given
+T1=0; //[degC]
+T2=10; //[degC]
+km=17.17; //[W/m*K]
+l=1; //[m]
+r2=1.1875;
+r1=1.0335;
+deltaT=T1-T2;
+// using the formula Qr=-km*((2*pi*l)/ln(r2/r1))*deltaT;
+Qr=-km*((2*%pi*l)/log(r2/r1))*deltaT;
+printf("\n\n qr=%fW\n the plus sign indicates that the heat flow is radially out from the center",Qr);
+
|