https://www.hackerrank.com/challenges/area-under-curves-and-volume-of-revolving-a-curv/