A cyclinder of maximum volume is cut off from a solid cuboid with square box of slide 14cm and height 20cm.find. find the volume of metal wasted

clearly the sphere has diameter 14.

So, just subtract to get the wasted metal:

14^2 * 20 - 4π/3 * 7^3