Concept:Relative motion of two objects under same acceleration simplifies to constant relative velocity.
Explanation:Let upward direction be positive.
For ball A: initial velocity
uA​=+20m/s, acceleration
aA​=−g=−9.8m/s2.
For ball B: initial velocity
uB​=−20m/s (downward), acceleration
aB​=−g (same direction).
Relative acceleration
aAB​=aA​−aB​=0 because both have
−g.
Relative initial velocity
uAB​=uA​−uB​=20−(−20)=40m/s.
Initial relative separation
S=40m (height of B above A).
Time to collide:
t=uAB​S​=4040​=1s.
Now find height from ground where collision occurs using ball A's motion:
sA​=uA​t+21​aA​t2=(20)(1)+21​(−9.8)(1)2=20−4.9=15.1m.
Thus collision happens after 1 second at 15.1 m above ground.
Answer:The balls collide after 1 s at a height of 15.1 m from the ground.