Example 9#
%matplotlib inline
import sympy as sm
from sympy.physics.continuum_mechanics.beam import Beam
E = sm.Symbol('E')
I = sm.Symbol('I')
b = Beam(14, E, I)
r0 = b.apply_support(0, type="pin")
r14, m14 = b.apply_support(14, type="fixed")
b.apply_sliding_hinge(6)
b.apply_load(-20, 3, -1)
b.apply_load(-5, 6, 0, 14)
b.solve_for_reaction_loads(r0, r14, m14)
b.plot_bending_moment();