Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I I need help with number 13. How do I calculate the height of a cake with a known volume, made of 3 cylindrical tiers
I
I need help with number 13. How do I calculate the height of a cake with a known volume, made of 3 cylindrical tiers with the same height.
Diameters: The second cake has three layers with a top view of concentric circles. All three layers have the same height. The diameter of the middle layer is 20% larger than the top layer, and the diameter of the bottom layer is 25% larger than the middle layer
**URGENT**
Procedure Create your python file, following the instructions from the assignment basics file. Perform the following actions in your code, in exact order, storing their answers as needed in variables. 1. Greet the user with the message, "Welcome to CS112" 2. Ask the user: "What is your name?" 3. Ask the user: "What is the length (inches) of the side of cake1 square layer?" 4. Ask the user: "What is the height (inches) of cake1 square layer?" 5. Ask the user: "What is the length (inches) of the side of cake1 hexagon layer?" 6. Ask the user: "What is the height (inches) of cake1 hexagon layer?" 7. Ask the user: "What is the diameter (inches) of cake1 circular layer?" 8. Ask the user: "What is the height (inches) of cake1 circular layer?" 9. Ask the user: "What is the diameter (inches) of cake2 bottom layer?" You need this because the height of cake2 depends on this parameter (you'll see when you do the math). 10. In order to calculate the amount of icing we need, compute the total surface area of cake1 (every surface that we must put icing on, including all sides of the layers). Display the result to the user in both square inches and square meters. 11. In order to calculate the amount of ingredients we need, compute the volume of cake1, and display it to the user in both cubic inches and cubic meters. 12. Compute and display to the user the ratio of the volume of each layer to the volume of cake1. 13. Compute and display to the user the height of cake2 in both inches and meters. 14. Compute and display to the user the total surface area of cake2 in both square inches and square meters. 15. Compute and display to the user the volume of cake2 in both cubic inches and cubic meters. If you got this correctly, the result should be the same as in #11 above. 16. Tell the user to enjoy their cakeStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started