Hacker News new | ask | show | jobs
by yantrams 2911 days ago
Close enough but wrong :) I went the same route as you did and realized my mistake after a while. Base and altitude values can be fractional/irrational too.

PS : I bruteforced my way to the answer.