MATLAB code to find the optimal dimensions of a bowl-shaped object (conical frustrum) to maximize volume