Question 1195588
I did a similar solution to this one, then noticed that the units don't match.
d is in kms, h is in meters.
---------
I'll redo it tomorrow and post it.