Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Economic formulas are available to compute annual payments for loans.Suppose that you barrow to compute an amount of money P and agree to repay it

Economic formulas are available to compute annual payments for loans.Suppose that you barrow to compute an amount of money P and agree to repay it in n annual payments at an interest rate of i. The formula to compute the annual payment A is
A=P(i(i+1)square(n)/(i+1)square(n)+1)
Write a function M-file that accepts 2 input arguments (P and i) to compute A. Compute the results for n=1,2,...,12, and display the results as a table with headings and columns for n and A. You must use fprintf in your program to display the table values with 2 decimal digits. Test your program with P =45,000 TL and an interest rate of 34%.

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

Deductive And Object Oriented Databases Second International Conference Dood 91 Munich Germany December 18 1991 Proceedings Lncs 566

Authors: Claude Delobel ,Michael Kifer ,Yoshifumi Masunaga

1st Edition

3540550151, 978-3540550150

More Books

Students also viewed these Databases questions

Question

Prepare for a successful job interview.

Answered: 1 week ago

Question

Describe barriers to effective listening.

Answered: 1 week ago

Question

List the guidelines for effective listening.

Answered: 1 week ago