Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in python code please Problem Earth is the third nearest the fifth largest of the nine planets that orbit the sun. The planets provide a

in python code please
image text in transcribed
image text in transcribed
Problem Earth is the third nearest the fifth largest of the nine planets that orbit the sun. The planets provide a lot of interesting numbers for measurement and computation. The following table includes some information about each planet which will be used during your task. The main purpose of your supposed program is to examine computation power of these numbers, specifically. the distance between two planets, the weight and age if you were to travel to different planets, the time required to go around a specific planet, and the time required to send a message from one planet to another. The program must have the following features. 1. Print_planet_info function, to print all information in the above table. 2. Print_options function, to print the options your program is capable achieve. 3. Get_option function, to read and return the desired option. 4. Cal_age function to calculate and return the age if you are living on another planet. 5. Cat_weight function to calculate and return the weight if you are living on another planet. 6. Cal_message function to calculate and return the time required to send message from one planet to another. 7. Cal_distance function to calculate and retur the distance between any two planets. 8. Cal time function to calculate and return the time required going around a certain planet. 9. Any conditional loop to keep the program running until the user chooses the close (END) option. 10. Nicely format the output and include appropriate Units for the printed values. Hint: Light travels approximately at 299792458m/second. The following questions should be considered for example, but for more details you can see the exe file attached to the assignment. Ex: How much time will it take to send a message from Earth to Venus? (Assume radio waves travel at the speed of light). (1.551081.03106)/299.792458=xxxxseconds/60xxxxminutes/60xxxxhours Ex: You travelled in a Boeing 747 at 1,200km/hr. How long will it take you to go around the Earth? 12756/1200=xxyearsxxmonthsxxdaysxxhoursxxmins Ex: You are 21 years old. What is your supposed age if you live over Venus? 21365.25/224.7=xxx years and xx months Ex: You weight is about 56kg. What is your supposed body weight if you live over Venus? 560.91=xxxkg

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Reliability Engineering Designing And Operating Resilient Database Systems

Authors: Laine Campbell, Charity Majors

1st Edition

978-1491925942

More Books

Students also viewed these Databases questions