Answer:
a)
b)
Explanation:
Given:
mass of bullet, 
compression of the spring, 
force required for the given compression, 
(a)
We know

where:
a= acceleration


we have:
initial velocity,
Using the eq. of motion:

where:
v= final velocity after the separation of spring with the bullet.


(b)
Now, in vertical direction we take the above velocity as the initial velocity "u"
so,

∵At maximum height the final velocity will be zero

Using the equation of motion:

where:
h= height
g= acceleration due to gravity


is the height from the release position of the spring.
So, the height from the latched position be:


