Recent Posts

Caution: Greetings to all visitors. The site is working in short. Links Please skip the link to view any topic and thank you for visiting
header ads

Attached image file has formula to add in javascript

Hello Guys,

I need some help. Attached is the formula image which I want to use in Javascript but I dont know how to do the superscript (n) in Javascript

Here is my code

<script>
function myFunction() {
var pmt;
var PV = 201508;
var i1 = 3.625;
var i2=3.625/100;
var i = i2/12;
var n= 360;

pmt = PV * i(1+ i)/(1 + i) - 1;
}
</script>
Code (markup):
Can someone tell me how I can use the attached formula image in javascript.

Thanks

Raj

from JavaScript https://ift.tt/3dxXdI7
via IFTTT

Post a Comment

0 Comments