If P dollars (aka principal) is invested at r% interest compounded annually, then the future value of the investment after n years is given by the formula
Future value = P(1 + r/100)n
Demonstrate your ability to use C++ syntax to design and develop a
program to accept the principal, interest rate and years and
displayed the computed future value with 2 decimal places. Use the
pow function for this computation. The loop is controlled via the
sentinel value, ‘E’. Include in your answer the TWO include files
that provides the requirements to display with 2 decimal places and
the pow function.
// C++ program to calculate compound interest
#include<iostream>
#include<math.h>
using namespace std;
int main()
{
float p,r,n,Future_value;
cout<<"Enter Principle, Rate and Years:\n";
cin>>p>>r>>n;
Future_value=p*pow((1+r/100),n);
cout<<"\nCompound Interest = "<<Future_value;
return 0;
}
If P dollars (aka principal) is invested at r% interest compounded annually, then the future value...
If P dollars (aka principal) is invested at 1% interest compounded annually, then the future value of the investment after n years is given by the formula Future value = P(1 + r/100)" Demonstrate your ability to use C++ syntax to design and develop a program to accept the principal, interest rate and years and displayed the computed future value with 2 decimal places. Use the pow function for this computation. The loop is controlled via the sentinel value. ‘E....
Find the value, in 2 years’ time, of $4000 invested at
5% compounded annually. In the
following 2 years, the interest rate is expected to rise to 8%.
Find the final value of the
investment at the end of the 4-year period, and find the overall
percentage increase. Give
your answers correct to 2 decimal places.
Find the value, in 2 years’ time, of $4000 invested at
5% compounded annually. In the
following 2 years, the interest rate is expected...
Suppose that $100,000 is invested at 5% interest, compounded annually A = P(1 + r)' a) Find a function for the amount in the account after t years b) Find the amount of money in the account after 8 years
1. Suppose $26002600 is invested annually into an annuity that earns 55% interest. If P dollars are invested annually at an interest rate of r, the value of the annuity after n years is given by the following equation. Upper W equals Upper P left bracket StartFraction left parenthesis 1 plus r right parenthesis Superscript n Baseline minus 1 Over r EndFraction right bracketW=P(1+r)n−1r How much is the annuity worth after 5 years? 2. Suppose that $90,000 is invested at...
an account at an interest rate r compounded conltinuously, then the amount A (caled the future value of P) in the account t years from now wil be A P Solving the equation for P, we get PrAcft, In this formulation, Pis called the present value of the investment. (a) Find the present value of $400,000 at 6% compounded continuously for 25 years (b) Find the interest rate compounded continuously that is needed to have $40,000 be the present value...
Use the model A=pe" or AFP where A is the future value of P dollars invested at interest rate r compounded continuously or n times per year for t years. If a couple has $40,000 in a retirement account, how long will it take the money to grow to $1,000,000 if it grows by 5.5% compounded continuously? Round up to the nearest year. It will take approximately years.
Future Value of Account A Note: Account A pays simple interest. Future ValueA = Principal + Interest Principal + [(Principal x Interest Rate) x Investment Period] $2,000 + [($2,000 x 996) x 3 years] = Round your answer to two decimal places. Future Value of Account X Note: Account X pays compound interest. Future Valuex = Present Value x Interest Rate Factor Present Valuex(1 +Interest Rate)n years $2,000 x (1 + 0.09)3 = - Round your answer to two decimal...
Suppose we want to find the future value of $6,000 invested at 8.5% compounded continuously for 7 years. ir mt A. Periodic Compound Interest: S = P(1+ – m / B. Continuously Compounded Interest: S = Pe” [(1 + 5)mt – 1] C. Future Value of an Ordinary Annuity: S = R || 11- D. Present Value of an Ordinary Annuity: P = R Il + 1. Choose the correct formula above for this scenario. - 2. What is the...
a) Complete the table to determine the balance A for P dollars invested at rate r for t years, compounded n times per year. (Round your answers to two decimal places.) P = $3500, r = 3.5%, t = 20 years n A 1 $ 2 $ 4 $ 12 $ 365 $ Continuous compounding $ B)Complete the table to determine the amount of money P that should be invested at rate r to produce a final balance of $120,000...
will give thumbs up
Suppose that P dollars in principal is invested for years at the given interest rates with continuous compounding. Determine the amount that the investment is worth at the end of the given time period. P = $8000, t = 13 yr a. 2% interest b. 4% interest c. 4.5% interest Part 1 out of 3 a. At a 2% interest rate, the investment will be worth $ at the end of 13 yr. 2Use the model...