Difference between revisions of "Payment Command"
From GeoGebra Manual
(command syntax: changed [ ] into ( )) |
|||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command| financial | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command| financial}} |
− | + | ;Payment( <Rate>, <Number of Periods>, <Present Value>, <Future Value (optional)>, <Type (optional)> ) | |
− | ;Payment | ||
:Calculates the payment for a loan based on constant payments and a constant interest rate. | :Calculates the payment for a loan based on constant payments and a constant interest rate. | ||
Line 8: | Line 7: | ||
*<b><Present Value></b> Total amount that a series of future payments is worth now. | *<b><Present Value></b> Total amount that a series of future payments is worth now. | ||
*<b><Future Value (optional)></b> A cash balance you want to attain after the last payment. If you do not enter a future value, it is assumed to be 0. | *<b><Future Value (optional)></b> A cash balance you want to attain after the last payment. If you do not enter a future value, it is assumed to be 0. | ||
− | *<b><Type (optional)></b> Indicates when payments are due. If you do not enter a value or you enter 0 the payment is due at the end of the period | + | *<b><Type (optional)></b> Indicates when payments are due. If you do not enter a value or you enter 0 the payment is due at the end of the period. If you enter 1 it is due at the beginning of the period. |
− | :{{example| 1=<div><code><nowiki>Payment | + | :{{example| 1=<div><code><nowiki>Payment(6%/12, 10, 10000, 0,1)</nowiki></code> yields a monthly payment for a loan of -1022.59. </div> {{note|1=Make sure that you are consistent about the units you use for <code><nowiki><Rate></nowiki></code> and <code><nowiki><Number of Periods></nowiki></code>. If you make monthly payments on a four-year loan at an annual interest rate of 6 percent, use 6%/12 for rate and 4*12 for number of payments.}}}} |
− | {{note|1= For all arguments, cash paid out is represented by negative numbers and cash received | + | {{note|1= For all arguments, cash paid out is represented by negative numbers and cash received by positive numbers.}} |
+ | {{note| 1=See also [[Rate Command|Rate]], [[Periods Command|Periods]], [[PresentValue Command|Present Value]] and [[FutureValue Command|Future Value]] commands.}} |
Latest revision as of 11:52, 3 October 2017
- Payment( <Rate>, <Number of Periods>, <Present Value>, <Future Value (optional)>, <Type (optional)> )
- Calculates the payment for a loan based on constant payments and a constant interest rate.
- <Rate> Interest rate per period.
- <Number of Periods> Total number of payments for the loan.
- <Present Value> Total amount that a series of future payments is worth now.
- <Future Value (optional)> A cash balance you want to attain after the last payment. If you do not enter a future value, it is assumed to be 0.
- <Type (optional)> Indicates when payments are due. If you do not enter a value or you enter 0 the payment is due at the end of the period. If you enter 1 it is due at the beginning of the period.
- Example:
Payment(6%/12, 10, 10000, 0,1)
yields a monthly payment for a loan of -1022.59.Note: Make sure that you are consistent about the units you use for<Rate>
and<Number of Periods>
. If you make monthly payments on a four-year loan at an annual interest rate of 6 percent, use 6%/12 for rate and 4*12 for number of payments.
Note: For all arguments, cash paid out is represented by negative numbers and cash received by positive numbers.
Note: See also Rate, Periods, Present Value and Future Value commands.