The potential energy of a body of mass m is given by U=px+qy+rz. The magnitude of the acceleration of the body will be
F=−dUdr=Fx=−∂U∂X=−p,
Fy=−∂U∂y=−q, FZ=−∂U∂Z=−r
=→F=Fx^i+Fy^j+FZ^k=(−p)^i+(−q)^i+(−r)^i
=F=√F2x+F2y+F2Z=√p22+q2+r2
⇒a=Fm=√p2+q2+r2m