Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribedimage text in transcribed

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 loanand 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) M=P I(1 + 1)^ (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 rateexpressed 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: C:\Program Files (x86)\Microsoft Visual Studio Shared Python37_54.python.exe X 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 format

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Visual Basic Net Database Programming

Authors: Rod Stephens

1st Edition

0789726815, 978-0789726810

More Books

Students also viewed these Databases questions

Question

Advance warning and an explanation for the layoff.

Answered: 1 week ago