MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
6th Edition
ISBN: 9781119256830
Author: Amos Gilat
Publisher: John Wiley & Sons Inc
bartleby

Concept explainers

bartleby

Videos

Textbook Question
Book Icon
Chapter 4, Problem 9P

The value of a saving account, V, after t years is given by:

V = P 1 + r / 100 n n t

where P is the initial investment, r is the yearly interest rate in % (e.g., 7.5% entered as 7.5). and n is the number of times per year that the interest is compounded. Write a MATLAB program in a script file that calculates V. When the program is executed, it asks the user to enter the amount of the initial investment, the number of years. the interest rate, and the number of times per year that the interest is compounded. The output is displayed in the following format: The value of a $XX investment a yearly interest rate of X.X% compounded X times per year, after XX years is $XXXX.XX”, where XXX stands for the corresponding quantities. Use the program to determine the value of a $20,000 investment after 18 years lithe yearly interest rate is 3.5% compounded 6 times a year.

Blurred answer

Chapter 4 Solutions

MATLAB: An Introduction with Applications

Knowledge Booster
Background pattern image
Statistics
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:9781133382119
Author:Swokowski
Publisher:Cengage
01 - What Is A Differential Equation in Calculus? Learn to Solve Ordinary Differential Equations.; Author: Math and Science;https://www.youtube.com/watch?v=K80YEHQpx9g;License: Standard YouTube License, CC-BY
Higher Order Differential Equation with constant coefficient (GATE) (Part 1) l GATE 2018; Author: GATE Lectures by Dishank;https://www.youtube.com/watch?v=ODxP7BbqAjA;License: Standard YouTube License, CC-BY
Solution of Differential Equations and Initial Value Problems; Author: Jefril Amboy;https://www.youtube.com/watch?v=Q68sk7XS-dc;License: Standard YouTube License, CC-BY