Question

One problem in timber management is to determine how much of an area to leave uncut...

One 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 of time. 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 m2 are left standing after harvesting and the reforestation rate is 0.05, then 100 + (0.05 * 100),or 105 m2, are forested at the end of the first year. At the end of the second year, the number of m2 forested is 105 + (0.05 * 105), or 110.25 m2. Assume that the area we are talking about has a total of 10,000 m2, with 5000 m2 uncut and a reforestation rate of 0.04. Write a program to print a table showing the number of m2 forested at the end of each year, for a total of 20 years. [10 Marks]

0 0
Add a comment Improve this question Transcribed image text
Answer #1

SOLUTION:-

#include <iostream>
#include <stdlib.h>
#include <math.h>
using namespace std;

int main()
{
int year=1 ;

double Acres = 10000, uncut = 5000, Reforest_rate = .04;

double reforest = 0;

while(year<=20)

{

uncut = uncut + (uncut*Reforest_rate); // Calculation of Reforestation Growth

cout << "In Year:"<<year <<","<<"The Forested Area is:"<<"\t"<< uncut<<"m2"<< endl;

year++;

}

return 0;
}

=====================================================================================

OUTPUT:- SCREEN SHOT IS ATTACHED BELOW:-

E-ecute I c Enbedmam.cppON #include <stdlib.h> #include <math.h> using namespace std; int main) int year-1 ; e double Acres 1=======================================================================================

Add a comment
Know the answer?
Add Answer to:
One problem in timber management is to determine how much of an area to leave uncut...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Timber Regrowth. A problem in timber management is to determine how much of an area to...

    Timber Regrowth. A problem in timber management is to determine how much of an area to leave uncut so that the harvested area is reforest in a certain period of time. 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...

  • 1, write an m file to determine the sum of the infinite series converges to π2 /6. Do this by com...

    please write matlab code for these questions in matlabplatform 1, write an m file to determine the sum of the infinite series converges to π2 /6. Do this by computing the sum for a) n-100, b) n-1000 and c) n 10000. Do this by assigning n values using logspace command 2. Write an m-file to evaluate the following algebraic formula log( -a f i>a log) sa where t is a number that a user enters and a 100 3. A...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT