Connexions

Sections
You are here: Home » Content » Programming with M-Files: A Personal Finance Example Using While Loops

About: Programming with M-Files: A Personal Finance Example Using While Loops

Module by: Darryl Morrell

View content

Metadata

Name: Programming with M-Files: A Personal Finance Example Using While Loops
ID: m13461
Language: English (en)
Summary: This is an example of using an m-file script to compute the number of months necessary to pay off a credit card debt using the minimum monthly payment.
Subject: Science and Technology
Keywords: Credit Card Debt, MathScript, MATLAB, M-file, Octave, Personal Finance, While Loop
Document Type: -//CNX//DTD CNXML 0.5 plus MathML//EN
License: Creative Commons Attribution License (CC-BY 2.0)

Authors: Darryl Morrell (morrell@asu.edu)
Copyright Holders: Darryl Morrell (morrell@asu.edu)
Maintainers: Darryl Morrell (morrell@asu.edu)

Version: 1.4 (history)
Created: Feb 27, 2006 3:34 pm US/Central
Revised: Aug 22, 2006 1:19 pm GMT-5

Version History

Version: 1.4 Aug 22, 2006 1:19 pm GMT-5 by Darryl Morrell
Changes:
Changed MATLAB to M-File

Version: 1.3 Aug 21, 2006 4:12 pm GMT-5 by Darryl Morrell
Changes:
Fixed MathML subscripts

Version: 1.2 Feb 28, 2006 6:09 pm US/Central by Darryl Morrell
Changes:
Added solutions to Exercises 1, 2, and 3

Version: 1.1 Feb 27, 2006 8:52 pm US/Central by Darryl Morrell
Changes:
Initial Version

How to Reuse and Attribute This Content

If you derive a copy of this content using a Connexions account and publish your version, proper attribution of the original work will be automatically done for you.

If you reuse this work elsewhere, in order to comply with the attribution requirements of the license (CC-BY 2.0), you must include

  • the authors' names: Darryl Morrell
  • the title of the work: Programming with M-Files: A Personal Finance Example Using While Loops
  • the Connexions URL where the work can be found: http://cnx.org/content/m13461/1.4/

See the citation section below for examples you can copy.

How to Cite and Attribute This Content

The following citation styles comply with the attribution requirements for the license (CC-BY 2.0) of this work:

American Chemical Society (ACS) Style Guide:

Morrell, D. Programming with M-Files: A Personal Finance Example Using While Loops, Connexions Web site. http://cnx.org/content/m13461/1.4/, Aug 22, 2006.

American Medical Assocation (AMA) Manual of Style:

Morrell D. Programming with M-Files: A Personal Finance Example Using While Loops [Connexions Web site]. August 22, 2006. Available at: http://cnx.org/content/m13461/1.4/.

American Psychological Assocation (APA) Publication Manual:

Morrell, D. (2006, August 22). Programming with M-Files: A Personal Finance Example Using While Loops. Retrieved from the Connexions Web site: http://cnx.org/content/m13461/1.4/

Chicago Manual of Style (Bibliography):

Morrell, Darryl. "Programming with M-Files: A Personal Finance Example Using While Loops." Connexions. August 22, 2006. http://cnx.org/content/m13461/1.4/.

Chicago Manual of Style (Note):

Darryl Morrell, "Programming with M-Files: A Personal Finance Example Using While Loops," Connexions, August 22, 2006, http://cnx.org/content/m13461/1.4/.

Chicago Manual of Style (Reference, in Author-Date style):

Morrell, D. 2006. Programming with M-Files: A Personal Finance Example Using While Loops. Connexions, August 22, 2006. http://cnx.org/content/m13461/1.4/.

Modern Languages Association (MLA) Style Manual:

Morrell, Darryl. Programming with M-Files: A Personal Finance Example Using While Loops. Connexions. 22 Aug. 2006 <http://cnx.org/content/m13461/1.4/>.