summaryrefslogtreecommitdiff
path: root/3864/CH5/EX5.2/Ex5_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3864/CH5/EX5.2/Ex5_2.sce')
-rw-r--r--3864/CH5/EX5.2/Ex5_2.sce26
1 files changed, 26 insertions, 0 deletions
diff --git a/3864/CH5/EX5.2/Ex5_2.sce b/3864/CH5/EX5.2/Ex5_2.sce
new file mode 100644
index 000000000..7d16b55d6
--- /dev/null
+++ b/3864/CH5/EX5.2/Ex5_2.sce
@@ -0,0 +1,26 @@
+clear
+//
+//
+
+//Initilization of Variables
+
+L=3000 //mm //span of beam
+a=2000 //mm
+W1=20*10**3 //N //Pt Load Acting on beam
+W2=30*10**3 //N //Pt Load Acting on beam
+E=2*10**5 //N/mm**2 //Youngs Modulus
+I=2*10**8 //mm**4 //M.I
+
+//Calculations
+
+//Deflection at free End Due to W2
+dell1=W2*L**3*(3*E*I)**-1 //mm
+
+//Deflection at free end Due to W1
+dell2=W1*a**3*(3*E*I)**-1+(L-a)*W1*a**2*(2*E*I)**-1 //mm
+
+//Total Deflection at free end
+dell=dell1+dell2 //mm
+
+//Result
+printf("\n Deflection at Free End is %0.2f mm",dell)