A 90g ball is tied to a string so that the center its mass hangs50 cm below the point where the string is tied to a support rod.The ball is pulled aside to a60° angle with vertical and released.As the string approaches vertical, it encounters a peg at adistance x below the support rod. The string then bends around thepeg. If the position of the peg is low enough, the ball will movein a circle wrapping the string around the peg. a.) What isthe work done by nonconservative force? And the total mechanicalenergy for the ball as it swing and rotate around the support rodand peg. b.) What is the smallest value of x for which the ballwill move in a circle wrapping the string around the peg. Thenpredict what will happen to the mechanical energy, gravitationalpotential energy, kinetic energy, speed, and centripetal force whenx reaches its minimum value. Set up a mathematical equation thatsatisfy the condition for minimum x and solve it based on theconditions provided