financebanking

interest Nominal

Available under GPL (Free) and Commercial licence
get a GPL licence
COST (GBP)
this unit 0.90
sub units 0.00
add a commercial licence to your cart
0
viewed 1473 times and licensed 2 times
www.codecogs.com/d-ox/finance/banking/interestnominal.php
Controller: CodeCogs    Contact Controller

Interface

#include <codecogs/finance/banking/interestnominal.h>

using namespace Finance::Banking;

double interestNominal (double effRate, int nper)
Return the nominal annual interest rate. Excel: NOMINAL
Click for details on using CodeCogs in ExcelReal cc_interestNominal (Real effRate, Integer nper)
This function is available as a Microsoft Excel add-in.

Function Documentation

Interest Nominal Calculator

  

Add calculator to your site or email
 
doubleinterestNominaldoubleeffRate
intnper )
Calculates the nominal annual interest rate, given the effective rate and the number of compounding periods per year.

The function is based on the following equation:

(1)
\displaystyle \left[ (1+effRate)^{1 /nper} - 1 \right ]*nper
Example:
#include <iostream>
 
#include <codecogs/finance/banking/interestnominal.h>
 
int main(int argc, char *argv[])
{
  double rate;
  
  printf("Effective rate\tPeriods\tNominal rate\n");
  for (double a=0.0025; a<0.1; a+=0.005) 
	{
    rate=Finance::Banking::interestNominal(a, 4);
    printf("%f\t%i\t%f\n", a, 4, rate);
  }  
  return 1;
}
Output:
Effective rate  Periods Nominal rate
0.002500        4       0.002498
0.007500        4       0.007479
0.012500        4       0.012442
0.017500        4       0.017386
0.022500        4       0.022313
0.027500        4       0.027221
0.032500        4       0.032111
0.037500        4       0.036984
0.042500        4       0.041839
0.047500        4       0.046677
0.052500        4       0.051497
0.057500        4       0.056300
0.062500        4       0.061086
0.067500        4       0.065856
0.072500        4       0.070608
0.077500        4       0.075344
0.082500        4       0.080064
0.087500        4       0.084767
0.092500        4       0.089454
0.097500        4       0.094125
Parameters:
effRateThe effective interest rate.
nperThe number of compounding periods per year.
Returns:
The nominal annual interest rate.
Authors:
James Warren (August 2005)
Source Code:
Register

- To get code register with CodeCogs. Already a Member, then Login.


Last Modified: 18 Oct 07 @ 17:07     Page Rendered: 2008-05-12 19:36:10

Page Comments

  You must login to leave a messge


Valid CSS!   Valid XHTML 1.0 Transitional