summaryrefslogtreecommitdiff
path: root/2378/CH1/EX1.5/Exa_1_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '2378/CH1/EX1.5/Exa_1_5.sce')
-rw-r--r--2378/CH1/EX1.5/Exa_1_5.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/2378/CH1/EX1.5/Exa_1_5.sce b/2378/CH1/EX1.5/Exa_1_5.sce
new file mode 100644
index 000000000..df07fea13
--- /dev/null
+++ b/2378/CH1/EX1.5/Exa_1_5.sce
@@ -0,0 +1,20 @@
+//equivalent k of crane
+//Exa_1_5
+clc;
+clear;
+
+//refer fig_1_27
+l1=sqrt(3^2 + 10^2 -(2*3*10*cosd(135))); //length FC in m
+l2=10 //length of AB in m
+A1=100e-6; //cross section area of FB in m^2
+A2=2500e-6; //cross section area of AB in m^2
+E1=207e9; //youngs modulus of material
+E2=207e9; //youngs modulus of material
+theta= acosd(( l1^2 + 3^2 -10^2) / (2*l1*3)); //angle theta in degree
+
+k1=(A1 * E1)/ l1; //spring constant of FB
+k2=(A2 * E2)/ l2; //spring constant of AB
+
+keq= (k1*(cosd(45))^2) + (k2*((cosd(90-theta))^2)); //equivalent spring constant of system
+disp(keq,"equivalent spring constant of system in N/m = ");
+//note: the answer in the book is printed incorrectly as 26430400 N/m