summaryrefslogtreecommitdiff
path: root/866/CH5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /866/CH5
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')
-rwxr-xr-x866/CH5/EX5.1/5_1.sce25
-rwxr-xr-x866/CH5/EX5.2/5_2.sce23
-rwxr-xr-x866/CH5/EX5.4/5_4.sce15
-rwxr-xr-x866/CH5/EX5.5/5_5.sce24
4 files changed, 87 insertions, 0 deletions
diff --git a/866/CH5/EX5.1/5_1.sce b/866/CH5/EX5.1/5_1.sce
new file mode 100755
index 000000000..5068d7e6b
--- /dev/null
+++ b/866/CH5/EX5.1/5_1.sce
@@ -0,0 +1,25 @@
+clc
+//initialisation of variables
+F= -10 //KN
+x1= 1 //m
+x2= 2 //m
+x3= 3 //m
+//CALCULATIONS
+alpha= atand(x1/x3)
+beta= atand(x1/x2)
+Tca= -F*cosd(beta)
+Tcb= Tca*cosd(alpha)/cosd(beta)
+Rav= -F*x2/(x2+x3)
+Rbv= -F-Rav
+Rah= Rav*x3/x1
+Rbh= Rah
+Tca= sqrt(Rav^2+Rah^2)
+Tcb= sqrt(Rbv^2+Rbh^2)
+//RESULTS
+printf ('Tca= %.1f KN',Tca)
+printf (' \n Tcb=%.1f KN',Tcb)
+printf (' \n Rav=%.f KN',Rav)
+printf (' \n Rbv=%.f KN',Rbv)
+printf (' \n Rah=%.f KN',Rah)
+printf (' \n Tca=%.1f KN',Tca)
+printf (' \n Tcb=%.1f KN',Tcb)
diff --git a/866/CH5/EX5.2/5_2.sce b/866/CH5/EX5.2/5_2.sce
new file mode 100755
index 000000000..736dcf619
--- /dev/null
+++ b/866/CH5/EX5.2/5_2.sce
@@ -0,0 +1,23 @@
+clc
+//initialisation of variables
+Fc= -10.0 //KN
+Fd= -6.0 //KN
+y= 0.5 //m
+x1= 1.5 //m
+x2= 2.0 //m
+x3= 1.8 //m
+//CALCULATIONS
+//The values in the textbook are rounded off. hence, there is a small variation in the result of this code.
+alpha= atand(y/x1)
+Rav= (-Fd*x3-Fc*(x2+x3))/(x1+x2+x3)
+Rah= Rav*x1/y
+Tca= sqrt(Rah^2+Rav^2)
+tanbeta= ((-Fc-Tca*sind(alpha)))/(Tca*cosd(alpha))
+Tcd= Tca*cosd(alpha)/cosd(beta)
+gama= atand((-Fd+Tcd*sind(beta)))/(Tcd*cosd(beta))
+Tdb= (Tcd*cosd(beta))/cosd(gama)
+//RESULTS
+printf ('Tca= %.1f KN',Tca)
+printf (' \n Tcd=%.1f KN',Tcd)
+printf (' \n Tdb=%.2f KN',Tdb)
+
diff --git a/866/CH5/EX5.4/5_4.sce b/866/CH5/EX5.4/5_4.sce
new file mode 100755
index 000000000..e644d15c6
--- /dev/null
+++ b/866/CH5/EX5.4/5_4.sce
@@ -0,0 +1,15 @@
+clc
+//initialisation of variables
+L= 200 //m
+D= 18 //m
+h= 6 //m
+w= 10 //KN/m
+//CALCULATIONS
+L2= L/(sqrt((D-h)/D)+1)
+H= w*L2^2/(2*D)
+Tmax= sqrt((w*L2)^2+H^2)
+alphamax= atand(w*L2/H)
+printf ('L2= %.1f m',L2)
+printf (' \n H=%.1f KN',H)
+printf (' \n Tmax=%.1f KN',Tmax)
+printf (' \n alphamax=%.1f degrees',alphamax)
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)