Electrical and Computer Engineering Website
 Engineering
    Difference Equations
    Kirchoffs Law
    Sinusoidal Analysis
    Communications
    Differential Equations
    Dynamic Systems
    Probability and Stats
    Control Systems
Simulations
     MATLAB
     Examples in MATLAB
Links to other websites
Johns Hopkins   -   Signals & systems example

Cal State San Bernardino   -   Probablity and Statistics
Engineering >> Difference Equations Prev |  Next |  Home  | Contact us  | Objective
    DIFFERENCE EQUATIONS
Difference equations are an essential part of engineering and business/economics applications. See Theory of Difference Equation (from University of Toronto). One common example is the 'home mortgage' problem.
The 'home mortgage' problem.
In a home mortgage involving fixed interest rate of R%, loan amount of P, and loan period of M months, let us find out
  1. The monthly payment b
  2. The remaining loan amount after nth monthly payment x(n).
Solution
  1. Set up Difference Equation
  2. Solve the Equation
After the nth monthly payment, remaining loan amount = x(n).
Interest on the remaining loan amount for one month  =  x(n)  * R/100  * 1/12
Interest plus remaining loan  =  x(n) + x(n) * (R/100) *1/12  = x(n) * (1 + R/1200)
Let  a = (1 +  R/1200)
At the end of (n + 1)th month, a payment of b is made
Hence, the remaining loan amount after (n + 1)th monthly payment is:
x(n + 1) = x(n) * (1 + R/1200) - b
x(n + 1) =  x(n) * a  - b
x(n + 1)  -  a *  x(n)  =  - b
................................(1)
(1) is called a first order Difference Equation
 
   
Prev |  Next |  Home  | Contact us  | Objective