Answered step by step
Verified Expert Solution
Question
1 Approved Answer
solve the task given using pycharm and explain step by step.Thank you in advance! Assessment #1 Loan payment calculations, or monthly payment formulas, provide the
solve the task given using pycharm and explain step by step.Thank you in advance!
Assessment #1 Loan payment calculations, or monthly payment formulas, provide the answers you need when deciding whether or not you can afford to borrow money. Typically, these calculations show you how much you need to pay each month on the loan-and whether it'll be affordable for you based on your income and other monthly expenses. Calculate your monthly payment (M) using your principal balance or total loan amount (P), monthly interest rate (I), which is your annual rate divided by the number of payment periods, and your total number of payment periods (N) I(1 + 1)^ M= P (1 + 1)^ - 1) Where: M= Monthly Payment P= Mortgage Principal I= Monthly Interest N= Number of Months Assume you borrow RM100,000 at 6% for 30 years to be repaid monthly. To calculate the monthly payment, convert percentages to decimal format, then follow the formula: P: 100,000, the amount of the loan 1: 0.005 (6% annual rate-expressed as 0.06divided by 12 monthly payments per year) N:360 (12 monthly payments per year times 30 years) Calculation: 100,000/{[(1+0.005)^360)-1}/(0.005(1+0.005)^360) = 599.55, or 100,000/166.7916 = 599.55 The monthly payment is RM 599.55. Sample of output: PCA Program Files (86)\Microsoft Visual Studio Shared Python37_54/python.exe WELCOME TO LOAN PAYMENT CALCULATOR Enter the principal value (RM) : Enter the interest rate in % : Enter the period of loan in year: 100000 6 30 You want to borrow RM 100000.0 over 30.0 years, with an interest rate of 6.0 % ! The monthly payment is RM 599.55 Press any key to continue Deliverable items to be submitted to your lab tutor: 1. PDF file consists of . Pseudocode OR Flowchart in word document/pdf format Code of Python program (include comments on input, process, output) Screenshot of three sets of output from the program runs (to be included with sample of output 1). . 2. Python Program in .py formatStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started