Given data:
* The initial velocity of the cue ball is 4 m/s.
* The angle made by the final velocity with the initial direction of motion is 45 degrees.
Solution:
The initial momentum of the system along the initial direction of motion of cue ball is,
![p_1=mu_1+mu_2](https://img.qammunity.org/2023/formulas/physics/college/no4pa5jsr7jq2von6b348x3k6shbgpbvby.png)
where m is the mass, u_1 is the initial velocity of the cue ball and u_2 is the initial velocity of the other ball,
As the other ball is stationary, thus the value of u_2 is zero.
The initial momentum of the system is,
![\begin{gathered} p_1=m*4+0 \\ p_1=4m \end{gathered}](https://img.qammunity.org/2023/formulas/physics/college/ibhmr53ssv7ay6wj81yvhy9d3u3uogsogm.png)
The final momentum of the system is,
![p_2=mv_1cos(45^(\circ))+mv_2cos(45^(\circ))](https://img.qammunity.org/2023/formulas/physics/college/ywm3fanewftzwdkga3icjh6qfnca9r8v4m.png)
The diagrammatic representation of the given system is,
By the law of conservation of momentum, the initial momentum of the system is equal to the final momentum of the system,
Thus,
![\begin{gathered} p_1=p_2 \\ 4m=mv_1\cos (45^(\circ))+mv_2\cos (45^(\circ)) \end{gathered}](https://img.qammunity.org/2023/formulas/physics/college/vmdvq90eekqqxiugdzozojoelr7lmg0lss.png)
As the magnitude of the velocity is the same after the collision, thus,
![\begin{gathered} 4m=mv\cos (45^(\circ))+mv_{}\cos (45^(\circ)) \\ 4=v_{}\cos (45^(\circ))+v_{}\cos (45^(\circ)) \\ 4=2v\cos (45^(\circ)) \\ v=(4)/(2\cos (45^(\circ))) \\ v=2.83\text{ m/s} \end{gathered}](https://img.qammunity.org/2023/formulas/physics/college/3nsztyos0ttf94r21oqhcrordq0yunygmj.png)
Thus, the velocity of each ball after the collision is 2.83 meters per second.