Https://www.google.com/search?tbs=sbi:AMhZZiuc6mk5S438WBb7iizj56MvoVz9sxfbOaVcy_1SdDTQnJdcyo0Qu7CKsc...
We use the following formula to determine our acceleration:

We normally use letters in this formula, which gives us:

Filling in this formula gives us:
Δv (change of velocity) = 12 - 4 = 8 m/s
t = 1s

So our answer: the acceleration is
Answer:
Part a)
When spring compressed by 2 cm
H = 1.47 m
Part b)
When spring is compressed by 4 cm
H = 5.94 m
Explanation:
Part a)
As we know that the spring is compressed and released
so here spring potential energy is converted into gravitational potential energy at its maximum height
So we will have


so we have

Part b)
Similarly when spring is compressed by 4 cm
then we have


so we have

You can define the height of zero to be at any level you want.
Then the equation will give the height of the ball above that level
at any time. If you define zero height as the position of your hand
just as you drop the ball, then the equation will give negative values
for any time after the drop. If you define zero height as the floor, then
the equation will give a value of zero at the instant of every bounce,
and positive values at any other time.
For a graph of (something vs. time), the x-axis is usually time, so the
y-intercept is the height of the ball at the drop, when time begins.
That's just the height from which it's dropped ... relative to whatever
height you decide to define as zero.