# Calculating the island of Manhattan gains after 400 years.

• lcam2
In summary, the island of Manhattan's gain is calculated by considering the rate of sedimentation, sea level rise, and land subsidence over a 400-year period. These factors, along with human activity and natural disasters, contribute to the island's gain. While predictions can be made, there are uncertainties and limitations due to potential changes in the environment. Calculating the island's gain can provide valuable information for urban planning and development, but it must be taken with caution due to these uncertainties.
lcam2
According to the legend, the island of Manhattan was purcased from the native indian population in 1626 for 24 dollars. Assuming this money was invested in a Dutch bank paying 5 %
simple interest per year, costruct a table in C++ showing how much money the native population would have at the end of each 50- year period, starting in 1626 and ending 400 years latter.
I'm having problems when i try to calculate the total amount of money every 50 year period.

## Homework Equations

simple Interest = Principal amount * Interest rate * years

## The Attempt at a Solution

#include <iostream>
#include <cmath>
#include <iomanip>

using namespace std;
int main ()

{
float year;
double rate, interest, totMoney;

year = 1626;
rate = .05;

cout << " Year Interest gained Total Money" << endl;
cout << "-----------------------------------------------"<< endl;
cout << endl;

while( year <= 2026)
{

interest = 24 * .05* 50;
totMoney = 24 + interest;

cout << setw(7) << year << setw(15) << interest << setw(15)<< totMoney << endl;

cout << endl;

totMoney ++;

year += 50;

}

return 0;
}

The basic algorithm looks all right (I'd clean up the output format a little, but that's just me). However, is there a reason you're incrementing totMoney (totMoney++)? Does the legend include a $1 payment every 50 years? I'd also suggest using an int for year--you won't have any decimal artifacts in the year field. EDIT: And now compare it with compound interest--by 2026, that$24 would have turned into \$7,176,800,429.97.

Last edited:

## 1. How is the island of Manhattan's gain calculated after 400 years?

The island of Manhattan's gain is calculated by taking into account the rate of sedimentation, sea level rise, and land subsidence over the course of 400 years.

## 2. What factors contribute to the island of Manhattan's gain after 400 years?

The main factors that contribute to the island of Manhattan's gain are sedimentation, sea level rise, and land subsidence. Other factors such as human activity and natural disasters can also play a role.

## 3. Can the island of Manhattan's gain be accurately predicted after 400 years?

While scientists can make predictions based on current data and trends, there are many variables that can affect the island of Manhattan's gain over the course of 400 years. Therefore, the accuracy of the prediction may vary.

## 4. How does calculating the island of Manhattan's gain after 400 years benefit us?

Calculating the island of Manhattan's gain helps us understand the impact of natural processes and human activity on the environment. This information can inform urban planning and development strategies to mitigate potential risks.

## 5. Are there any limitations or uncertainties in calculating the island of Manhattan's gain after 400 years?

Yes, there are limitations and uncertainties in the calculation, as it is based on current data and assumptions about future conditions. Changes in natural processes or human activity can affect the accuracy of the calculation.

• Engineering and Comp Sci Homework Help
Replies
9
Views
2K
• Programming and Computer Science
Replies
6
Views
1K
• Engineering and Comp Sci Homework Help
Replies
6
Views
2K
• Engineering and Comp Sci Homework Help
Replies
8
Views
2K
• Calculus and Beyond Homework Help
Replies
1
Views
4K
• General Discussion
Replies
19
Views
4K
• Engineering and Comp Sci Homework Help
Replies
1
Views
14K