Derive the expression for maximum slope and deflection for a simply supported beam carrying a UDL. 
a) Use the moment-curvature relationship. 
b) Apply Castigliano's theorem. 
c) Consider the equilibrium equations. 
d) Utilize the method of virtual work.