You will write functions for the slant height of a frustum, the height of the complete cone, and the curved surface area. Then you will check the curved surface in a second way, as a big cone minus a small cone.
The idea. The slant height is . The complete cone has height and slant height . The curved surface is .
Your tasks.
slant_height, return the slant height of the frustum.cone_height, return the height of the complete cone.curved_area, return the curved surface area of the frustum.curved_by_cones, return the same area as the curved surface of the big cone minus that of the small cone.Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…