CodeCogs - An iteractive open source Numerical library Welcome... Login
CodeCogs
shopping cart
OSXWindowsLinux
Search CodeCogs
Numerical Components

Valid RSS

FinanceBanking

interest Nominal

Available under GPL (Free) and Commercial licence
get a GPL licence
COST (GBP)
this unit 1.17
sub units 0.00
add a commercial licence to your cart
0
viewed 1493 times and licensed 3 times

Return the nominal annual interest rate. Excel: NOMINAL

Controller: CodeCogs  Contact Controller
+View version details
Contents hide toc
buy now     get GPL     add to cart

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
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 website 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:

\left[ (1+effRate)^{1 /nper} - 1 \right ]*nper
Example 1:
#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:

To view or download source code you need either a GPL or Commercial Licence.

buy now     get GPL     add to cart

Not a member, then Register with CodeCogs. Already a Member, then Login.


Page Comments

Format Excel Equations

  You must login to leave a messge


Last Modified: 18 Oct 07 @ 17:07     Page Rendered: 2010-03-13 13:45:50

Valid CSS!   Valid XHTML 1.0 Transitional