//Example 8.2 m=0.057;//Mass of ball (kg) v_i=0;//Initial velocity (m/s) v_f=58;//Final velocity (m/s) delta_p=m*(v_f-v_i);//Change in momentum (kg.m/s) delta_t=5*10^-3;//Duration of contact of ball with racquet (s) F_net=delta_p/delta_t;//Net external force (N) printf('Average force exerted on the ball by the racquet = %0.1f N',F_net) //Answer varies due to round off error //Openstax - College Physics //Download for free at http://cnx.org/content/col11406/latest