Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A problem in timber management is to determine how much of an area to leave uncut so that the harvested area is reforested in a

A problem in timber management is to determine how much of an area to leave uncut so
that the harvested area is reforested in a certain period. It is assumed that reforestation
takes place at a known rate per year, depending on climate and soil conditions.
A reforestation equation expresses this growth as a function of the amount of timber
standing and the reforestation rate. For example, if 100 acres are left standing after
harvesting and the reforestation rate is 0.05, then 100+0.05**100, or 105 acres are
forested at the end of the first year. At the end of the second year, the number of acres
forested is 105+0.05**105, or 110.25 acres.
Q1) Assume that there are 14,000 acres total with 2,500 acres uncut and that the
reforestation rate is 0.02. Write a python program that produces a table (appears below)
that shows the number of acres forested at the end of each year, for a total of 20 years.
You must use for loop to solve this question. Name your program as
Q1.py.
(4 Marks)
Q2) Repeat Q1 using while loop. Name your program as
Q2.py.
(4 Marks)
Q3) Modify the program developed in Q1 so that the user can enter anumber of acres and
the program will determine how many years are required for the number of acres to be
completely forested. This is shown in the example below. Name your program as
Q3.py.
(2 Marks)(AND include screenshots for the outputs)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions