summaryrefslogtreecommitdiff
path: root/866/CH5/EX5.5/5_5.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /866/CH5/EX5.5/5_5.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 '866/CH5/EX5.5/5_5.sce')
-rwxr-xr-x866/CH5/EX5.5/5_5.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/866/CH5/EX5.5/5_5.sce b/866/CH5/EX5.5/5_5.sce
new file mode 100755
index 000000000..ec6568352
--- /dev/null
+++ b/866/CH5/EX5.5/5_5.sce
@@ -0,0 +1,24 @@
+clc
+//initialisation of variables
+w= 120 //KN
+D= 30 //m
+L= 300 //m
+sigmamax= 600 //N/mm^2
+h= 50 //m
+beta= 45 //degrees
+//CALCULATIONS
+Tmax= ((w*L)/2)*(sqrt(1+(L/(4*D))^2))
+d= sqrt((4*Tmax*10^3)/(sigmamax*%pi))
+H= (w*L^2)/(8*D)
+alpha= atand((w*L)/(2*H))
+Mt= Tmax*(cosd(alpha)-cosd(beta))*h
+Vt= Tmax*(sind(alpha)+sind(beta))
+Wa= Tmax*cosd(beta)
+//RESULTS
+printf ('Tmax= %.1f KN',Tmax)
+printf (' \n d=%.1f mm',d)
+printf (' \n H=%.0f KN',H)
+printf (' \n alpha=%.1f degrees',alpha)
+printf (' \n Mt=%.0f KNm',Mt)
+printf (' \n Vt=%.0f KN',Vt)
+printf (' \n Wa=%.0f KN',Wa)