(originally provided by @chschu, converted to Markdown with LaTeX math by @kajott)
Variables used here:
-
= initial position of hailstone number i [known] -
= velocity of hailstone number i [known] -
= time of collision between the rock and hailstone number i [unknown] -
= initial position of the rock [unknown] -
= velocity of the rock [unknown]