Answered step by step
Verified Expert Solution
Question
1 Approved Answer
UNIV199 Introduction to Programing with Python Homework #1 Due: February 24, 2021, Wednesday, 23:59. Basics: Spyder Installation & area/volume of an ice cream Your first
UNIV199 Introduction to Programing with Python Homework #1 Due: February 24, 2021, Wednesday, 23:59. Basics: Spyder Installation & area/volume of an ice cream Your first homework has three parts: 1. Installing Spyder on your computer and taking a video of its operation. 2. Writing a program that finds the area/volume of an ice cream. 3. Filling and uploading the homework honor code. Do the following tasks: 1. Install Python (compiler) and Spyder Integrated Development Environment IDE) on your computer as described in the installation tutorial given with this homework. Take a 5-10 second video showing that Spyder can run your program below. Upload the video to Blackboard under "Homework 1 - Spyder video" 2. Write a Python program that evaluates the area and volume of an ice cream on its cone (taken as 3.1416). The program should get two values from the user, the diameter of the ice cream ball (d) and the height of the cone (h). Area and volume formulas for cones and spheres are as follows: = Acone(side) = Tir's Vsphere ar3 Your program should evaluate and display the following quantities: Length "s" using the Pythagorean theorem. Surface area and volume of the semi-sphere. Surface area and volume of the cone. Surface area and volume of the ice cream. Sample output (slight differences in numbers are acceptable): Enter ice cream ball diameter in cm: 10 Asphere = 4tr2 . . Enter cone height in cm: 12 s is 13.0 cm Surface area of the seni sphere is 157.07999999999998 cm2. Volume of the semi sphere is 261.79999999999995 cm2. Surface area of the cone's side is 204.204 cm2. Volume of the cone is 314.15999999999997 cm3. Surface area of the ice cream is 361.284 cm2. Volume of the ice cream is 575.9599999999999 en
Step 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