summaryrefslogtreecommitdiff
path: root/2732/CH6/EX6.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2732/CH6/EX6.5
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 '2732/CH6/EX6.5')
-rwxr-xr-x2732/CH6/EX6.5/Ex6_5.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2732/CH6/EX6.5/Ex6_5.sce b/2732/CH6/EX6.5/Ex6_5.sce
new file mode 100755
index 000000000..ff4b471f9
--- /dev/null
+++ b/2732/CH6/EX6.5/Ex6_5.sce
@@ -0,0 +1,16 @@
+clc
+// initialization of variables
+clear
+A=3 //cm^2
+E= 2*10^6 //kg/cm^2
+nu= 0.25
+l= 60 //m
+L=150 //cm
+d=0.5 //cm
+dd=10 //cm
+D=180 //cm
+//calculations
+K=(l*100/(A*E))+(L*D/2*D*32*2*(1+nu)/(E*%pi*dd^4*2))
+P=d/K
+// results
+printf('The weight of the students that entered the length is %d kg',P)