a. Let the system `(M+m)` moves as a single mass with a velocity `v`.
conserving the momentum of the system in horizontal, we have
`mv_(0)costheta=(M+m)v`
This gives `v=(mv_(0)costheta)/(M+m)`
b. the change in `KE` of the system is
`/_K=1/2(M+m)v^(2)-1/2mv_(0)^(2)`
where `v=(mv_(0)costheta)/(M+m)` ltbr This gives `/_K=((M+m))/2((mv_(0)costheta)/(M+m)^(2)-1/2mv_(0)^(2)`
`=-(mv_(0)^(2))/2(1-m/(M+m)cos^(2)theta)`
`=-((M+msin^(2)theta)mv_(0)^(2))/(2(M+m))`