The slant height is given by
l=√h2+r2
Now volume is
V=π3(r2)h
=π3(l2−h2)h
dVdh=π3[l2−h2−h(2h)]
Now for critical points
dVdh=0
Or
l2−h2−2h2=0
l2=3h2
l=√3h
hl=1√3=cosθ where θ is the semi vertical angle.
Hence
tanθ=√1−cos2θcosθ
=√2√31√3
=√2
Therefore
tanθ=√2
Or
θ=tan−1(√2)