A simply supported beam carries varying load from zero at one end and w at the other end. If the length of the beam is a, the maximum bending moment will be_______________?

A simply supported beam carries varying load from zero at one end and w at the other end. If the length of the beam is a, the maximum bending moment will be_______________?

A. wa/27
B. wa²/27
C. w²a
D. wa²