summaryrefslogtreecommitdiff
path: root/2378/CH1/EX1.5/Exa_1_5.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /2378/CH1/EX1.5/Exa_1_5.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
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