subject

This assignment has three parts. Part One: Write an interactive program to calculate the volume and surface area of a three-dimensional object. Use the following guidelines to write your program:

Create a word problem that involves calculating the volume and surface area of a three-dimensional object. Choose one of the following:
Cube: surface area 6 s2 , volume s3
Sphere: surface area 4πr2 , volume (4.0/3.0) π r3
Cylinder: surface area 2π r2 + 2 π r h, volume π r2 h
Cone: surface area πr(r+√(h2+r2) ), volume 1.0/3.0 π r2 h
Print the description of the word problem for the user to read.
Ask the user to enter the information necessary to perform the calculations.
Use 3.14 for the value of π as needed.
Print the results of each calculation.
Write the pseudocode for this program. Be sure to include the needed input, calculations, and output.
Insert your pseudocode here:

Part Two: Code the program. Use the following guidelines to code your program.

To code the program, use the Python IDLE.
Using comments, type a heading that includes your name, today’s date, and a short description of the program.
Follow the Python style conventions regarding indentation and the use of white space in your program.
Use meaningful names for all variables.
Example of expected output: The output for your program should resemble the following screen shot. Your specific results will vary depending on the choices you make and the input provided.

Output

Insert a copy of your code from the IDLE here:

Part Three: Complete the Post Mortem Review (PMR). Write thoughtful two to three sentence responses to all the questions in the PMR chart.

Review Question Response
What was the purpose of your program?

How could your program be useful in the real world?

What is a problem you ran into, and how did you fix it?

Describe one thing you would do differently the next time you write a program.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:20
Usually, when we sniff packets, we are only interested certain types of packets. we can do that by setting filters in sniffing. scapy’s filter use the bpf (berkeley packet filter) syntax; you can find the bpf manual from the internet. set the following filters and demonstrate your sniffer program again (each filter should be set separately): (a) capture only the icmp packet. (b) capture any tcp packet that comes from a particular ip and with a destination port number 23. (c) capture packets comes from or to go to a particular subnet. you can pick any subnet, such as 128.230.0.0/16; you should not pick the subnet that your vm is attached to.
Answers: 3
question
Computers and Technology, 23.06.2019 14:30
The basic work area of the computer is it screen that you when you first fire up your computer
Answers: 1
question
Computers and Technology, 24.06.2019 00:00
For the following example of making a peanut butter and jelly sandwich, identify which are inputs, processes, or outputs: bread scooping and spreading peanut butter plate scooping and spreading jelly finished sandwich putting two pieces of covered bread together dirty plate crumbs
Answers: 2
question
Computers and Technology, 24.06.2019 01:00
The initial tableau of a linear programming problem is given. use the simplex method to solve it. x 1 x 2 x 3 s 1 s 2 z 1 2 4 1 0 0 8 3 4 1 0 1 0 10 minus3 minus12 1 0 0 1 0 the maximum is nothing when x 1equals nothing, x 2equals nothing, x 3equals nothing, s 1equals3, and s 2equals0. (be sure to simplify to lowest terms if necessary.)
Answers: 2
You know the right answer?
This assignment has three parts. Part One: Write an interactive program to calculate the volume and...
Questions
question
Mathematics, 02.11.2019 02:31
question
Mathematics, 02.11.2019 02:31
question
Mathematics, 02.11.2019 02:31
question
Mathematics, 02.11.2019 02:31
Questions on the website: 13722363