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 /1286/CH12/EX12.6/12_6.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 '1286/CH12/EX12.6/12_6.sce')
-rwxr-xr-x | 1286/CH12/EX12.6/12_6.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/1286/CH12/EX12.6/12_6.sce b/1286/CH12/EX12.6/12_6.sce new file mode 100755 index 000000000..7cca01dcc --- /dev/null +++ b/1286/CH12/EX12.6/12_6.sce @@ -0,0 +1,19 @@ +clc
+//initialisation
+cu=104
+w=0.14
+l1=50//cm
+t=0.0001//m
+t1=100//c
+t2=0//c
+//CALCULATIONS
+x=cu*t*100/w
+l=l1+2*x
+dt=t1-t2
+dg=dt/l
+d1=x*dg
+d2=t1-d1
+//results
+printf(' \n temperature gradient= % 1f c/cm',dg)
+printf(' \n temperature of one end= % 1f c',d1)
+printf(' \n temperature of other end= % 1f c',d2)
|