summaryrefslogtreecommitdiff
path: root/964/CH29/EX29.2/29_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /964/CH29/EX29.2/29_2.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 '964/CH29/EX29.2/29_2.sce')
-rwxr-xr-x964/CH29/EX29.2/29_2.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/964/CH29/EX29.2/29_2.sce b/964/CH29/EX29.2/29_2.sce
new file mode 100755
index 000000000..50598bd33
--- /dev/null
+++ b/964/CH29/EX29.2/29_2.sce
@@ -0,0 +1,14 @@
+//clc()
+k = 0.49;//cal/(s.cm.C)
+T1 = 33.29755;//C
+T2 = 75;//C
+T3 = 63.21152;//C
+T4 = 0;//C
+qx = -k * (T1 - T2) / (2*10);
+qy = -k * (T3 - T4) / (2*10);
+disp(qx,"qx = ")
+disp(qy,"qy = ")
+q = (qx^2 + qy^2)^0.5;
+t = (atan(qy/qx));
+r = t * 180/(%pi);
+disp(r,"Thus, the flux is direced at the angle")