subject
Business, 20.12.2019 03:31 HannahW7024

Create class savingsaccount. use static variable annualinter-estrate to store the annual interest rate for all account holders. each object of the class contains a private instance variable savingsbalance indicating the amount the saver currently has on deposit. provide method calculatemonthlyinterest to calculate the monthly interest by multiplying the savingsbalance by annualinterestrate divided by 12- this interest should be added to savingsbalance. provide a static method modifyinterestrate that sets the annualinterestrate to a new value. write a program to test class savingsaccount. instantiate two savingsaccount objects, saver1 and saver2, with balances of $2000.00 and $3000.00, respectively. set annualinterestrate to 3%, then calculate the monthly interest for each of 12 months and show the new balances for both savers. next, set the annualinterestrate to 8%, calculate the next month's interest and show the new balances for both savers.

ansver
Answers: 2

Another question on Business

question
Business, 21.06.2019 17:00
Good guys i hope you will me about this question,, plase
Answers: 1
question
Business, 22.06.2019 09:20
Which statement best explains the relationship between points a and b? a. consumption reaches its highest point, and then supply begins to fall. b. inflation reaches its highest point, and then the economy begins to expand. c. production reaches its highest point, and then the economy begins to contract. d. unemployment reaches its highest point, and then inflation begins to decrease.
Answers: 2
question
Business, 22.06.2019 21:00
Mr. beautiful, an organization that sells weight training sets, has an ordering cost of $40 for the bb-1 set. (bb-1 stands for body beautiful number 1.) the carrying cost for bb-1 is $5 per set per year. to meet demand, mr. beautiful orders large quantities of bb-1 seven times a year. the stockout cost for bb-1 is estimated to be $50 per set. over the past several years, mr. beautiful has observed the following demand during the lead time for bb-1: demand during lead time probability40 0.150 0.260 0.270 0.280 0.290 0.1total 1.0the reorder point for bb-1 is 60 sets. what level of safety stock should be maintained for bb-1?
Answers: 3
question
Business, 23.06.2019 07:50
Your company is starting a new r& d initiative: a development of a new drug that dramatically reduces the addiction to smoking. the expert team estimates the probability of developing the drug succesfully at 60% and a chance of losing the investment of 40%. if the project is successful, your company would earn profits (after deducting the investment) of 9,000 (thousand usd). if the development is unsuccessful, the whole investment will be lost -1,000 (thousand usd). your company's risk preference is given by the expected utility function: u(x) v1000 +x, where x is the monetary outcome of a project. calculate the expected profit of the project . calculate the expected utility of the project . find the certainty equivalent of this r& d initiative . find the risk premium of this r& d initiative e is the company risk-averse, risk-loving or risk-neutral? why do you think so?
Answers: 3
You know the right answer?
Create class savingsaccount. use static variable annualinter-estrate to store the annual interest ra...
Questions
question
Mathematics, 06.05.2021 06:00
Questions on the website: 13722363