A uniform symmetric cross-section cantilever beam of length \( L \) is subjected to a transverse force \( P \) at the free end, as shown in the figure. The Young’s modulus of the material is \( E \) and the moment of inertia is \( I \). Ignoring the contributions due to transverse shear, the strain energy stored in the beam is ___________.

A simply supported horizontal beam is subjected to a distributed transverse load varying linearly from \( q_0 \) at A to zero at B, as shown in the figure. Which one of the following options is correct?
