Reference no: EM13948045
f P is the population on the first day of the year, B is the birth rate, and D is the death rate, the estimated population at the end of the year is given by the formula:
P + (B * P)/100 - (D * P)/100
The population growth rate is given by the formula:
B - D
Write a program that prompts the user to enter the starting population, birth and death rates, and n, the number f years. The program should then calculate and print the estimated population after n years. Your program must consist of the following functions:
a. growthRate: This function takes as its parameters the birth and death rate, and it returns the population growth rate.
b. estimatedPopuation: This function takes as its parameters the current population, population growth rate, and n, the number of years. It returns the estimated population after n years.
Your program should to accept a negative birth rate, negative death rate, or a population less than 2.

Calculate the mean and the standard deviation
: When the machine is functioning correctly the company expects a mean of 10.00 mm and a standard deviation of 0.05 mm. The machine is overhauled when the variability (i.e. the SD) deviates from the norm by 50% or more. What do your results suggest ..
|
Stock market bubbles will impact consumers by encouraging
: An economy at the top of a stock market bubbles will impact consumers by encouraging A. greater consumption of luxury goods and less saving. B. more work and delaying retirement. C. greater consumption of luxury goods and greater saving. D. more inve..
|
Describe the phenomenon of passivity
: Briefly describe the phenomenon of passivity. Name two common types of alloy that passivate. Why does chromium in stainless steels make them more corrosion resistant in many en- vironments than plain carbon steels?
|
Business reported the changes in working capital
: A house painting business had revenues of $17,600 and expenses of $10,600 last summer. There were no depreciation expenses. However, the business reported the following changes in working capital:
|
Program that prompts the user to enter the birth rate
: This function takes as its parameters the current population, population growth rate, and n, the number of years. It returns the estimated population after n years.
|
What is the equivalent annual savings from the purchase
: Gluon Inc. is considering the purchase of a new high pressure glueball. It can purchase the glueball for $110,000 and sell its old low-pressure glueball, which is fully depreciated, for $20,000. What is the equivalent annual savings from the purchase..
|
Explain why or why not if the statement is incorrect
: Explain why or why not. If the statement is incorrect, how would you state it correctly?
|
Research on the theories of relationships and intimacy
: This week you have read research on the theories of relationships, intimacy, love, social identity, self categorization, and social comparison. Now you will have a chance to showcase what you have learned by creating a recommendation based on this..
|
How does the portfolio fair compare to the s&p 500
: Your client has $50,000 to invest and you plan to invest 60% in the security with the highest expected return. What would be the characteristics of this portfolio be (E(R),S)?
|