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 /2732/CH6/EX6.5 | |
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 '2732/CH6/EX6.5')
-rwxr-xr-x | 2732/CH6/EX6.5/Ex6_5.sce | 16 |
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)
|