The potential energy of a body is given by, U=A−Bx2 (Where x is the displacement). The magnitude of force acting on the particle is
Constant
Proportional to x
Proportional to x2
Inversely proportional to x
U=A−Bx2⇒F=−dUdx=2Bx⇒F∝x