Explanation:
It is given that,
Spring constant of the spring, k = 15 N/m
Amplitude of the oscillation, A = 7.5 cm = 0.075 m
Number of oscillations, N = 31
Time, t = 15 s
(a) Let m is the mass of the ball. The frequency of oscillation of the spring is given by :

Total number of oscillation per unit time is called frequency of oscillation. Here, 


m = 0.0895 kg
or
m = 89 g
(b) The maximum speed of the ball that is given by :





Hence, this is the required solution.