# Chapter 4: Shear Forces and Bending Moments¶

## Example 4.3, page no. 275¶

In :
import math

#initialisation

q = 0.2                     # Uniform load intensity in K/ft
P = 14                      # Concentrated load in k
Ra = 11                     # Reaction at A from wquation of equilibrium
Rb = 9                      # Reaction at B from wquation of equilibrium

#calculation
V = 11 - 14 - (0.2*15)      # shear force in k

print "Shear force at section D", V, "k"
M = (11*15)-(14*6)-(0.2*15*7.5)             # Bending moment in K-ft
print "Bending moment at section D", M, "k-ft"
V1 = -9+(0.2*15)                            # Shear firce from alternative method in k
M1 = (9*9)-(0.2*7.5*15)                     # Bending moment from alternative method in k-ft

Shear force at section D -6.0 k
Bending moment at section D 58.5 k-ft


## Example 4.7¶

In :
import math

#initialisation

q = 1                   # Uniform load intensity in k/ft
M0 = 12                 # Couple in k-ft
Rb = 5.25               # Reaction at B in k
Rc = 1.25               # Reaction at C in k
b = 4                   # Length of section AB in ft

#calculation

Mb = -(q*(b**2))/2      # Moment acting at B

#Result
print "Bending moment at B", Mb, "k-ft"

Bending moment at B -8 k-ft