Purchase Solution

Writing MATLAB M-file

Not what you're looking for?

Ask Custom Question

Write M-file to calculate the future value of an initial investment, or the amount that needs to be deposited annually to reach future investment goal. This program is to be written as a single M-file that uses as interrogatory input statement to determine which calculation to perform. The equations required:

F=I(1+r/n)^(nM) Future Value-Initial Investment

F=A(1+r)[(1+r)^M-1/r] Future Value-Annual Invest.

F=Future Value
I=Initial Investment
r=Annual Interest Rate
n=Compounding Periods/year
M=Number of Years
A=Amount Deposited at Beginning of Each Year

This is to be only 15 lines or so - no more please.

Purchase this Solution

Solution Summary

Solution for the asked problem with necessary codes.

Purchase this Solution

Free BrainMass Quizzes
Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

C# variables and classes

This quiz contains questions about C# classes and variables.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Basic Networking Questions

This quiz consists of some basic networking questions.