//Example 8.3 printf('a.Solution is beyond the scope of numerical computation'); //For (b), the ratio of magnitudes of impulse imparted to the balls = (2*m*u)/(2*m*u*cosd(30)) theta=30;//Angle (deg) r=1/cosd(theta); printf('\nb.Ratio of magnitude of impulse exerted on first ball to that on second ball = %0.3f',r) //Openstax - College Physics //Download for free at http://cnx.org/content/col11406/latest