summaryrefslogtreecommitdiff
path: root/3776/CH2/EX2.4/Ex2_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3776/CH2/EX2.4/Ex2_4.sce')
-rw-r--r--3776/CH2/EX2.4/Ex2_4.sce14
1 files changed, 8 insertions, 6 deletions
diff --git a/3776/CH2/EX2.4/Ex2_4.sce b/3776/CH2/EX2.4/Ex2_4.sce
index 76ea23bb6..2a8f3fa43 100644
--- a/3776/CH2/EX2.4/Ex2_4.sce
+++ b/3776/CH2/EX2.4/Ex2_4.sce
@@ -1,21 +1,23 @@
clear
-p_app = 3 //kips - applied force
-P_A = 2.23 //kips
+p_app = 3 //kips - applied force
+P_A = 2.23 //kips
p_B = -2.83 //kips - compressive force
l_ab = 6.71 //inch
l_bc = 8.29 //inch
s_ab = 17.8 //ksi - tensile stress
s_bc = -12.9 //ksi - compressive stress
-E = 10.6 * (10**3) //ksi -youngs modulus
+E = 10.6 * (10**3) //ksi -youngs modulus
e_ab = s_ab*l_ab/E //elongation
e_bc = s_bc*l_bc/E //contraction
-x = -e_bc/e_ab //the Ratio of cosines of the deflected angles
-// t_1 and t_2 be deflected angles
+x = -e_bc/e_ab //the Ratio of cosines of the deflected angles
+// t_1 and t_2 be deflected angles
//t_2 = 180-45-26.6-t_1 the sum of angles is 360
//applying cos on both sides
t_1=atand(1.29)
e = e_ab/cosd((t_1)) //inch
-k = p_app/e // kips/in vertical stiffness of the combination
+e_t = e*cosd(11.2)
+k = p_app/e_t // kips/in vertical stiffness of the combination
printf("\n The vertical stiffness of the combination is %0.3f kips/inch",k) //answer in textbook is 167
+// answer varies due to rounding off errors