Hey all,
Basically I'm at a loss with a particular question in my latest Java assignment. Here's the culprit:
I don't know where to start with the code whatsoever, so any pointers in the right direction, or helping me break down what needs to be done would be great. Thanks~
Basically I'm at a loss with a particular question in my latest Java assignment. Here's the culprit:
Quote:
An annuity (sometimes called a reverse mortgage) is an account that yields a fixed payment every year until it is depleted.
The present value of the annuity is the amount that you would need to invest at a given interest rate so that the payments can be made.
The present value of an annuity (PVann) at the time of the first deposit can be calculated using the following formula:
PVann = PMT ยท ({[(1 + i)n - 1 - 1] / i } / (1 + i)n - 1 + 1)
where:
PMT: periodic payment
i: periodic interest or compound rate
n: number of payments
What is the present value of an annuity that will pay out $10,000 in each of the next 20 years if the interest rate is 8 percent?
Write a program to calculate the present value of an annuity for these values. Remember that you can use Math.pow(x, y) to calculate xy.
What is your program?
The present value of the annuity is the amount that you would need to invest at a given interest rate so that the payments can be made.
The present value of an annuity (PVann) at the time of the first deposit can be calculated using the following formula:
PVann = PMT ยท ({[(1 + i)n - 1 - 1] / i } / (1 + i)n - 1 + 1)
where:
PMT: periodic payment
i: periodic interest or compound rate
n: number of payments
What is the present value of an annuity that will pay out $10,000 in each of the next 20 years if the interest rate is 8 percent?
Write a program to calculate the present value of an annuity for these values. Remember that you can use Math.pow(x, y) to calculate xy.
What is your program?
I don't know where to start with the code whatsoever, so any pointers in the right direction, or helping me break down what needs to be done would be great. Thanks~






