v=1/3ni2h

Actually, the volume of a cone is

v = 1/3 π r^2 h