Answer:
Part a)

Part b)

Step-by-step explanation:
Since the ball and rod is an isolated system and there is no external force on it so by momentum conservation we will have

here we also use angular momentum conservation
so we have

also we know that the collision is elastic collision so we have

so we have

also we know

also we know

so we have


now we have


Part b)
Now we know that speed of the ball after collision is given as

so it is given as
