Cylindrical and Spherical problem in Mechanical engineering