Answer to Question #42294 in Other Programming & Computer Science for bojuwa
What is the effective annual interest rate for nominal annual interest rate of 5% compounded monthly?
Effective Rate = (1 + 5% / 12)12 - 1
= (1 + 0.05 / 12)12 - 1
= 0.05116 = 5.116%
i = (1 + r/m)m - 1
Where r = R/100 and i = I/100; r andi are interest rates in decimal form. m
is the number of compounding periods per year. The effective annual rate is the
actual interest rate for a year.
Console.WriteLine("nominalannual interest rate in % :");
doubler = Convert.ToDouble(Console.ReadLine());
Console.WriteLine("number ofcompounding periods per year:");
doublem = Convert.ToDouble(Console.ReadLine());
Console.WriteLine("EffectivePeriod Rate =" + (((Math.Pow((1+ (r / 100) / m), m) - 1))*100));
Console.WriteLine("EffectiveRate=" + ((Math.Pow((1 + (r/100)/ m), m) - 1)));
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!