Various Types of Finance Functions Written in JS or JAVA
First Function is Finding IRR from loan,tenor,advanceEmiN,flatRate
loan = Loan Amount or Principal tenor = period given for loan like 12, or 24 which is equivalent to 12 = 1Year advanceEmiN = if the amount of installment is being paid in the first month of the loan like, out of 12 emi you have paid, 2 then the IRR will be generated for tenor = 10 flatRate = interest rate like 13%
First Prototype