Hints: Program 3
Hints:
Program 3
- Use the FV Function
contained in Visual Basic to
calculate the Future Value, go to the Help menu
and type
in FV Function
in the Help
Topics area to get an
explanation of the arguments of the FV Function. Print
this out as a reference if necessary. The arguments in this function
setup exactly like the PMT function used in the chapter.
- In step
3 on page VB 3.76
add 11 labels
instead of the 7 labels
mentioned in the text.
- Do not
multiple the number of years by 4 or divide the interest
rate by 4 as mentioned in step
9 on page VB 3.77. (This line
is only found in an older edition of the textbook.) If you do, you will not get the answer in the book or on
the web page. This is a yearly investment, you add $1000 to your
principle at the beginning of each year. There is no need to multiply or
divide the years or interest rate by any value in the calculation.
- In step 12 on page VB 3.77 do not
make the application executable as mentioned in the
book if you are using the lab or the Working Model
edition of Visual Basic because that menu option is disabled.
- Construct the Rate
scrollbar so that all the
percentages can be reached between .01 and .25 with a precision
of 4 decimal places. The large-change
should change the percentage by a one percent, and the small-change
should change the percentage by a tenth of a percent.
When the scrollbox
is dragged the value of the rate
scrollbar can display up
to four decimal places.
- Remember to rename all the
controls on the form with the proper
prefixes
and meaningful names, and to highlight
all the properties changed in the property window !
|
Assignments |
Outputs
|
Requirements |