A cantilever beam of length L and flexural modulus EI is subjected to a point load P at the free end. The elastic strain energy stored in the beam due to bending (neglecting transverse shear) is A) (PL²)/(2EI) B) (PL³)/(3EI) C) (PL⁴)/(4EI) D) (PL⁵)/(5EI)