summaryrefslogtreecommitdiff
path: root/1703/CH7/EX7.8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1703/CH7/EX7.8
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 '1703/CH7/EX7.8')
-rwxr-xr-x1703/CH7/EX7.8/7_8.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1703/CH7/EX7.8/7_8.sce b/1703/CH7/EX7.8/7_8.sce
new file mode 100755
index 000000000..ca4c56c35
--- /dev/null
+++ b/1703/CH7/EX7.8/7_8.sce
@@ -0,0 +1,12 @@
+clc
+//initialisation of variables
+clear
+t= 75 //sec
+h= 10.5 //in
+h1= 13.5 //in
+//CALCULATIONS
+r= t*%pi*sqrt(2*h^2)/log((sqrt(2*h1^2)+h1)/(sqrt(2*h^2)-h))
+t= -r*((1/h1)-(1/h))
+//RESULTS
+printf ('A/K = %.f ',r)
+printf ('\n Time taken = %.1f sec',t)