


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
programming by python on juypter for solving problem on beam of civil
Typology: Exercises
1 / 4
This page cannot be seen from the preview
Don't miss anything!
In [7]:
In [44]:
In [45]:
In [52]:
In [53]:
Enter length A to B Enter the length between B and D Enter the length between D and C Enter Load w1 in kilo newton Enter the load w2 in kilo netwon
Out[44]: (^) 10.
Out[45]: (^) 9.
Out[52]: (^) -5.
Out[53]: 5.
l1 = int(input("Enter length A to B ")) a = int(input("Enter the length between B and D ")) b = int(input("Enter the length between D and C ")) l2 = a + b w1 = int(input("Enter Load w1 in kilo newton ")) w2 = int(input(("Enter the load w2 in kilo netwon ")))
M_AB = w1 ***** l1 / 4 M_AB
M_BC = w2 ***** a ***** b / l M_BC
M_FAB =- w1 ***** l1 / 8 M_FAB
M_FBA = w1 ***** l1 / 8 M_FBA
In [54]:
In [57]:
In [14]:
In [58]:
In [59]:
In [19]:
In [60]:
Out[54]: (^) -3.
Out[57]: 5.
Out[58]: (^) 0.
Out[59]: (^) 0.
Out[60]: (^) -0.
M_FBC =- w2 ***** a ***** b ***** b / (l2 ***** l2) M_FBC
M_FCB = w2 ***** a ***** a ***** b / (l2 ***** l2) M_FCB
# for Joint B members are BA and BC K_BA = 1 / l1 # coefficient of I K_BC = 1 / l2 # coefficient of I sum_of_k = K_BA + K_BC DF_BA = K_BA / sum_of_k DF_BC = K_BC / sum_of_k
# for Joint A B C members are AB BA BA and BC DF_AB = 0 DF_CB = 0 balance =- (M_FBA + M_FBC) var_AB = balance ***** DF_AB var_BA = balance ***** DF_BA var_BC = balance ***** DF_BC var_CB = balance ***** DF_CB CARRY_OVER_AB = var_BA / 2 CARRY_OVER_BA = var_AB / 2 CARRY_OVER_BC = var_CB / 2 CARRY_OVER_CB = var_BC / 2 Final_moment_AB = M_FAB + var_AB + CARRY_OVER_AB Final_moment_BA = M_FBA + var_BA + CARRY_OVER_BA Final_moment_BC = M_FBC + var_BC + CARRY_OVER_BC Final_moment_CB = M_FCB + var_CB + CARRY_OVER_CB
In [65]:
In [66]:
In [67]:
In [68]:
In [ ]:
Out[66]: (^) 6.
Out[67]: (^) 6.
Out[68]: (^) 18.
sum_of_moment_B = 0 RC = ( - Final_moment_BC + Final_moment_CB + w2 ***** a) / 5 RB2 = w2 - RC RB = RB1 + RB ans = RA + RB + RC
ans