summaryrefslogtreecommitdiff
path: root/3864/CH5/EX5.4/Ex5_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3864/CH5/EX5.4/Ex5_4.sce')
-rw-r--r--3864/CH5/EX5.4/Ex5_4.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/3864/CH5/EX5.4/Ex5_4.sce b/3864/CH5/EX5.4/Ex5_4.sce
new file mode 100644
index 000000000..46dcb2ca2
--- /dev/null
+++ b/3864/CH5/EX5.4/Ex5_4.sce
@@ -0,0 +1,27 @@
+clear
+//
+//
+
+
+//Initilization of Variables
+
+E=2*10**5 //N/mm**2 //Youngs Modulus
+I=180*10**6 //mm**4 //M.I
+W1=20 //N/m //u.d.l
+W2=20*10**3 //N //Pt load
+L=3000 //m //Span of beam
+a=2000 //m //Span of u.d.l
+
+//Calculations
+
+//Displacement of free End due to 20 KN Pt load at free end
+dell1=W2*L**3*(3*E*I)**-1 //mm
+
+//Displacement of free end due to u.d.l
+dell2=W1*a**4*(8*E*I)**-1+(L-a)*W1*a**3*(6*E*I)**-1
+
+//Deflection at free end
+dell=dell1+dell2 //mm
+
+//Result
+printf("\n The Displacement of Free End of cantilever beam is %0.2f mm",dell)