Find the volume of solid generated when the area enclosed by y = 0, y…