Question: Suppose you own a bond that will pay a future value based on a given annual interest rate and the number of years in the

  1. Suppose you own a bond that will pay a future value based on a given annual interest rate and the number of years in the future. Here’s the formula for determining the present value (what you can sell the bond for now):

present Value - futureValue / (1+ rate) years.

Provide a Java assignment statement that calculates the present value (using future value, rate, and years), rounds to the nearest dollar, and assigns the result to a variable named presentValue. Use Math class methods.

present Value - futureValue / (1+rate) years.

Step by Step Solution

3.47 Rating (170 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The formula in the image you provided calculates the present value of a future sum of money given th... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Introduction To Programming With Java A Problem Solving Approach Questions!