We begin with the forces acting while the ball is moving upward. Its weight acts downward with magnitude mg and the given resistive force, proportional to the square of speed, also acts downward with magnitude mkv2. Taking the upward direction as positive, the net force is downward, so Newton’s second law gives
mdtdv=−mg−mkv2.
We cancel the common factor m to simplify:
dtdv=−g−kv2.
To connect velocity with height, we use the chain‐rule identity for acceleration,
a=dtdv=vdydv,
because dtdy=v. Substituting this into the equation of motion gives
vdydv=−g−kv2.
We now separate the variables v and y completely:
g+kv2vdv=−dy.
The ball starts from the ground with speed u, so at y=0 we have v=u.
At the highest point the speed becomes zero, so at y=H we have v=0.
We therefore integrate between these limits.
Left-hand integral: let s=v2⟹ds=2vdv⟹vdv=2ds.
Hence
∫u0g+kv2vdv=21∫u20g+ksds.
The standard integral ∫g+ksds=k1ln(g+ks) gives
21[k1ln(g+ks)]u20=2k1[ln(g)−ln(g+ku2)].
This simplifies to
2k1ln(g+ku2g)=−2k1ln(1+gku2).
Right-hand integral:
∫0H(−dy)=−H.
Equating the two evaluated integrals,
−2k1ln(1+gku2)=−H.
Both sides carry the same negative sign, so we multiply by −1 and obtain the maximum height H:
H=2k1ln(1+gku2).
This matches option D.
Hence, the correct answer is Option D.