//Given that Ma = 83 //in kg Va = [6.2, 0] //in km/h Mb = 55 //in kg Vb = [0, 7.8] //in km/h //Sample Problem 10-5a printf("**Sample Problem 10-5a**\n") Vf = (Ma*Va + Mb*Vb)/(Ma+Mb) printf("The common velocity after the collision is %fm/s\n", norm(Vf)) //Sample Problem 10-5b printf("\n**Sample Problem 10-5**\n") printf("The velocity of center of mass is not altered due to collision")