Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For both of the algorithms below, please write a flowchart, pseudocode, and provide the Python code. Make sure to submit an ipynb file; make sure

For both of the algorithms below, please write a flowchart, pseudocode, and provide the Python code. Make sure to submit anipynbfile; make sure you intercept any possible python error by using try/except and giving a user-friendly message if the user enters an unexpected value.

Ocean Levels:

Assuming the ocean's level is currently rising at 1.7 millimeters per year, create an application that displays the number of millimeters that the ocean will have risen each year for thenumber of years the user wants to find out.

Population:

Write a program that predicts the approximate size of a population of organisms.The application should use text boxes to allow the user to enter the starting number of organisms, the average daily population increase (as a percentage), and the number of days the organisms will be left to multiply.Ask the user when he/she wants to stop the simulation. For example, assume the user enters the following values:

Starting number of organisms: 2

Average daily increase: 30%

Number of days to multiply: 10

The application/program should display the following table of data:

Day ApproximatePopulation

12

22.6

33.38

44.394

55.7122

67.42586

79.653619

812.5497

916.31462

1021.209

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

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions