Create m-file to calculate the future value

Assignment Help Computer Engineering
Reference no: EM1333199

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.

Where,
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

I'm new to programming - this is to be only 15 lines or so - no more.

Reference no: EM1333199

Questions Cloud

Elucidate which you are familiar and identify the market : Elucidate which you are familiar and identify the marketplace structure of that organization. Evaluate the effectiveness of this structure for the organization.
It governance structure and decision-making processes : Describe the IT governance structure and decision-making processes in any organization. Include discussion on the strengths and weaknesses of the organization's circumstance.
Effectiveness of groups and teams : Prepare a training plan with your Learning Team to increase the effectiveness of groups and teams by discussing challenges and benefits of group and team communication, collaboration, and conflict.
Economic history explains that less developed nation : Economic theory and history explains that less developed countries that open their economies to international trade and capital flows will grow faster and reduce poverty.
Create m-file to calculate the future value : Write down 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.
Capm-required rate of return of portfolio : A money manager is holding the following portfolio: What would be the portfolio's required rate of return following this change?
The main aspects of the internship : Discuss  the main aspects of the internship as a vehicle of learning in your job.
Effect on operating profit if housing has purchased : What would be the effect on operating profit if it purchased rather than made the housings? Show your calculations.
Give the relationship of correlation to convolution : The convolution program should be written as an m-file able to handle two general discrete signals. The M-file will be ain function file format, it would take two inputs sin1, sin2, and return an output sout.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Plan and implement a stringed musical instrument class

Plan and implement a stringed musical instrument class

  Sha-256 and rc4

SHA-256 (with 256-bit output) is more resistant to the attacks based on birthday paradox than SHA-1. Key reuse is deadly for the stream ciphers such as RC4.

  Explain protocol and architecture

define Connection Oriented Protocol and Connectionless Protocol.

  Supply supporting evidence for the decision

Now that you have a normal plan and have identified the information that you need for this program, you feel you are ready to start development. You told your uncle that you would need to purchase software for this program. Since your uncle is in ..

  Determine the value of p and q in program

Write the output of the following program. #include using namespace std; int fun ( int*& p, int* q) { *p = 12;

  Design the created cell.

design a 2x2 cell array A with the following elements: 4x4 identity matrix; the string 'London is the largest city in world', the complex number (3+i*10); the array of N=20 numbers (of type single) representing the geometric progression with the b..

  Internet offering gambling and drugs

Online gambling and purchase of the pharmaceutical drugs over Internet are quasi-legal activities which may only occur since the Internet enables the parties offering gambling and drugs access to those who wish to be customers.

  Define the facts they have learned simultaneously hold

An efficient algorithm is proposed to do this: either it produces proposed dates of birth and death for each of the n people so that all facts hold true, or it reports (correctly) that no such dates can exist. That is the facts collected by the sci..

  Recognizing the error in code

Suppose that the variable A is an arrays of ints. Take the following code segment:Boolean flag = false;

  The ways to depict constraint graph

The ways to depict constraint graph? illustrate how splitting a domain can be used to solve this problem.

  Java application that indicates invalid ticket number entrie

Ticket numbers are designed so that if you drop last digit of the number, then divide the number by 7, the remainder of the division would be identical to the last dropped digit.

  What is the effective access time in ns needed

assume the cache hit ratio is 0.8 and the main memory hit ratio is 0.7. What is the effective access time in ns required to access a referenced word on this system.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd