91.166 Copyright © 2002, Department of Systems and Computer Engineering, Carleton University 1 *** Modification *** This assignment turned out to a bit.

Slides:



Advertisements
Similar presentations
Copyright © 2002, Department of Systems and Computer Engineering, Carleton University 1 Exercise 3 Suppose that we’re holding a party and that “n”
Advertisements

Can I afford to go to university in 2012? [See Power Point notes pages for more detail] 1.
The Basics  Saving vs. Investing  The Time Value of Money  The Miracle of Compounding Interest The How 1. Make Automatic Transfers 2. Set Up Investment.
Annuities and Sinking Funds
4.3 Pricing Contracts via Arbitrage
The Time Value of Money: Annuities and Other Topics
Week 5: Loops 1.  Repetition is the ability to do something over and over again  With repetition in the mix, we can solve practically any problem that.
McGraw-Hill/Irwin ©2001 The McGraw-Hill Companies All Rights Reserved 5.0 Chapter 5 Discounte d Cash Flow Valuation.
State University of New York WARNING All rights reserved. No part of the course materials used in the instruction of this course may be reproduced in any.
Money Matters! Funding for students starting in 2012 Kate White Advice and Welfare Service Student Services Department.
Unit 4 - Good Debt, Bad Debt: Using Credit Wisely PG 73.
Flow Charts, Loop Structures
ECOR 1606 Copyright © 2002, Department of Systems and Computer Engineering, Carleton University 1 Exercise 9 Imagine a beam sticking out of a wall with.
Microsoft Excel Setting up Constants; the Payment, Present Value, and Conditional functions; What-If analysis.
Simple and Compound Interest Learning Objectives I know the difference between simple and compound interest I am able to apply the principle of compounding.
1. What is Credit and What is Debt? 2. Using Credit: The Rewards & Risks 3. Four Types of Debt 4. The Cost of Using Credit 5. Running the Numbers.
Measuring Your Financial Health and Making a Plan
Fixed Rate and Fixed Duration Loans You need to know three things about a fixed rate, fixed duration loan: How much do you need to borrow? What is the.
Thinking Mathematically
Analyzing Changes in Financial Position
Discussion Question CN (1) Web Investment Tracking Dow Jones Industrial Average Company Research Financial Web Sites Other Averages Online Brokers World.
LOAN REPAYMENT STRATEGIES Understanding the Unique Nature of Federal Student Loans Module 1 Tulane University Jeffrey Hanson Education Services.
1 LoansLoans When we calculate the annual payment of a loan (A), the payment is actually composed of interest and payment on principal. The mechanics are.
5 Things to Consider Before Borrowing PRESENTED BY THE GRAND CANYON UNIVERSITY STUDENT LOAN ASSISTANCE DEPARTMENT.
STUDENT LOAN DEBT & POST GRADUATION. WHEN WILL PAYMENTS START COMING DUE? Student are expected to start making payments 6 months after graduation. Tips.
Time Value of Money – Part II
TIME VALUE OF MONEY CHAPTER 5.
National Deficit & Debt. Basic Definitions A budget deficit occurs when an entity (often a government) plans to spend more money than it takes in. The.
MATH 102 Contemporary Math S. Rook
Lesson 16: Using Credit.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 9 Car Payment Calculator Application Introducing the Do While...Loop and Do Until...Loop.
Is it worth it?.  49% said no impact on decision to go to university  36% said ‘less likely to go’  11% said ‘much less likely to go’  Fees are most.
Section 4C Loan Payments, and Credit Cards Pages C.
Chapter 4 The Time Value of Money
CC0002NI – Computer Programming Computer Programming Er. Saroj Sharan Regmi Week 7.
Plant & Equipment. Plant are in most cases are expensive purchases It is very rare that the outlay is immediately recoverable Therefore you may be required.
Spreadsheets in Finance and Forecasting Presentation 8: Problem Solving.
Amortization M 110 Modeling with Elementary Functions V.J. Motto.
Loop Exercise 1 Suppose that you want to take out a loan for $10,000, with 18% APR, and you're willing to make payments of $1,200/month. How long will.
20.4 Reducing Balance Loans. Reducing balance loans A reducing balance loan is a loan that attracts compound interest, but where regular payments are.
Fifth Third Bank, Member FDIC. Eisenhower High School September 15, 2013.
Compound Interest ©Dr. B. C. Paul 2001 revisions 2008, 2011 Note – The subject covered in these slides is considered to be “common knowledge” to those.
YOUR FUTURE ASSIGNMENT Discussion Questions. Why did we do this?  With this class I wanted to learn a little bit more about what you were thinking life.
Compound Interest ©Dr. B. C. Paul 2001 revisions 2008 Note – The subject covered in these slides is considered to be “common knowledge” to those familiar.
Engineering Economic Analysis Canadian Edition
Amortized Loans An amortized loan is a loan paid off in equal payments – consequently, the loan payments are an annuity. In an amortized loan:
Functions and an Introduction to Recursion.  Recursive function ◦ A function that calls itself, either directly, or indirectly (through another function)
While Loops Indefinite Iteration. Last lesson we looked at definite loops using the ‘For’ statement. The while loop keeps going while some condition is.
The Loan Welcome! So you’re looking to finance a car? Before you look at taking out loans make sure that you are financially able to pay for a vehicle.
Why Bother. I have a Calculator!  You might press a button wrong. It is good to have an idea of what your answer should be.  These visualizations and.
Managing Student Loan Debt. PICPA The Pennsylvania Institute of Certified Public Accountants PICPA is a professional association of more than 22,000 CPAs.
HOW MUCH Understanding Mortgage Payments – I am going to pay HOW MUCH for this house? You borrow for your first home but that is NOT the amount of money.
Topic 4 of 6 Repayment 1 ©2014 Mapping Your Future, Inc.
Engineering Economic Analysis Canadian Edition Chapter 3: Interest and Equivalence.
© 2013 Pearson Education, Inc. All rights reserved.3-1 Chapter 3 Understanding and Appreciating the Time Value of Money.
6.1 Inference for a Single Proportion  Statistical confidence  Confidence intervals  How confidence intervals behave.
Finding Out Your Most Efficient Mortgage Option Loan Modification Loan % Rate Reduction Monthly Payment Reduction Principal Balance Reduction Difference.
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 5 Repetition Structures.
Chapter 7 Buying Decisions. Slide 2 Where Can Consumers Get Credit? Credit is the ability to borrow money and pay it back later. 7-2 Getting Started with.
Algebra Core Review day 2. Unit 4: Relations Domain: Range: Inverse: Linear: Function:
Copyright © 2002, Department of Systems and Computer Engineering, Carleton University 1 Exercise 10 The study of thermodynamics involves a lot of.
Chapter 4 section 1: Going into debt Credit: receipt of money either directly or indirectly used to buy goods and services in the present with the promise.
General Condition Loop A general condition loop just loops while some condition remains true. Note that the body of the loop should (eventually) change.
Chapter Saving 2. Commercial Bank 3. Savings Bank 4. Credit Union 5. Savings Account 6. Certificate of Deposit 7. Money Market Account 8. Annual.
Chapter 3 Personal Banking. 3-1 Checking Accounts If you have a checking account, you can pay bills or expenses without carrying large amounts of cash.
Chapter 6 The Time Value of Money— Annuities and Other Topics.
Understanding Debt Federally insured by NCUA Great Rates. Personal Service. chevronfcu.org 
Principles of Finance with Excel, 2 nd edition Instructor materials Chapter 3 What does it cost? Understanding IRR.
Chapter 4 MATLAB Programming
Presentation transcript:

Copyright © 2002, Department of Systems and Computer Engineering, Carleton University 1 *** Modification *** This assignment turned out to a bit harder than I wanted it to be. For this reason, I am simplifying it somewhat. If you wish, you may omit the “total payments” column from your table. You may also deal with the tricky cases (debt not paid off in a reasonable time, debt never gets paid off) by just putting “100” in the years to pay column. A sample executable which illustrates these changes has been posted. Keep in mind that this is an just option – students who wish to do the exercise as originally posted are of course welcome to do so. There is no penalty for choosing the simpler option and no bonus for doing the assignment as originally posted. We will of course be reasonable in marking the work of students who attempt the original assignment. No marks will be deducted for mistakes in the “extra” code required.

Copyright © 2002, Department of Systems and Computer Engineering, Carleton University 2 Exercise 4 Suppose that you’re a student with a student loan and that you’re interested in knowing how much you’ll owe at graduation, and how long it will take you to pay this debt off. Suppose also that you’d like to know how much worse things will be if you slip up and bit (not, of course, in 166) and take more than four years to complete your degree. As you’re an expert C++ programmer, you decide to knock off a little program that will give you the information you want…. The sample program should give the idea. After entering the interest rate which is to be applied (negative to stop the program), the user enters the amount that is to be borrowed every year while studying, and the amount that is to be repaid every year afterwards. The program then produces a table summarizing the situation for study periods ranging from 4 to 10 years. Some points to note: 1/. During the study period, debt increases as follows: debt at end of year = (debt at start of year + loan amount) * (1 + rate/100) 2/. During the repayment period, debt decreases (hopefully) as follows: debt at end of year = ((debt at start of year) * (1 + rate / 100)) – payment amount 3/. When the last payment rolls around, you pay only what is required to wipe out the debt (i.e. the last payment may, and typically will, be smaller than the others). Keep this in mind when calculating the total amount paid. 4/. If the debt at graduation and/or the interest rate are high, or the repayment amount is small, the debt may never get paid off (i.e. the debt may just keep on growing, year after year). Be sure to somehow guard against this causing an infinite loop. One way to do this is to have your calculation loop terminate when either the debt has been paid off or some maximum number of years have gone by. In cases where the debt is not paid in a reasonable number of years (say, within 50 years), have your table include an appropriate message. For an example, try the sample program with 10% interest and $1000 loan and repayment amounts.