I am trying to find the maximum volume that a cylinder inscribed in an ooctahedron of edge 1 cm can have. Given that the cylinder is on a diagonal of the octahedron. With some calculus and geometry we know that:
The volume of a cylinder is $\pi r^2 h$
In this case $r\leq \sqrt{\frac{3}{2}}$ and $h\leq \sqrt{2}$
From here I think I should come with an optimization problem but I am missing it.