{"id":16524,"date":"2021-08-12T09:33:34","date_gmt":"2021-08-12T04:03:34","guid":{"rendered":"https:\/\/python-programs.com\/?p=16524"},"modified":"2021-11-22T18:38:29","modified_gmt":"2021-11-22T13:08:29","slug":"python-program-to-calculate-emi","status":"publish","type":"post","link":"https:\/\/python-programs.com\/python-program-to-calculate-emi\/","title":{"rendered":"Python Program to Calculate EMI"},"content":{"rendered":"

In the previous article, we have discussed Python Program to Check if a String is Lapindrome or Not<\/a>
\nEstimated Monthly Installment (EMI):<\/strong><\/p>\n

EMI is an abbreviation for Estimated Monthly Installment. It is a set amount of money paid by the customer or borrower to the bank or lender on a set date each month of the year. This amount is deducted from the customer’s or borrower’s account every month for a set number of years until the loan is fully paid off by the customer or borrower to the bank or lender.<\/p>\n

Formula :<\/strong><\/p>\n

EMI = (P*R*(1+R)T<\/sup>)\/((1+R)T<\/sup>-1)<\/strong><\/p>\n

where P = Principle<\/p>\n

T = Time<\/p>\n

R = Rate of interest.<\/p>\n

Given principle, Rate, Time, and the task are to calculate EMI for the given input values in Python<\/p>\n

Examples:<\/strong><\/p>\n

Example1:<\/strong><\/p>\n

Input:<\/strong><\/p>\n

Given Principle = 10000\r\nGiven Rate = 8\r\nGiven Time = 2<\/pre>\n

Output:<\/strong><\/p>\n

The EMI for the above given values of P,T,R =  452.2729145618459<\/pre>\n

Example 2:<\/strong><\/p>\n

Input:<\/strong><\/p>\n

Given Principle = 20000\r\nGiven Rate = 15\r\nGiven Time = 3<\/pre>\n

Output:<\/strong><\/p>\n

The EMI for the above given values of P,T,R =  693.3065700838845<\/pre>\n

Program to Calculate EMI<\/h2>\n

Below are the ways to Calculate BMI for given values of principle, Rate, Time.<\/p>\n