numofperiods

Calculates the number of periods. Depending on input, function can return scalar, vector or matrix

Arguments

  1. Interest rate per period of return
  2. Annual payment
  3. Value of loan

Output

Number of periods

Examples

numofperiods