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
The 'home mortgage' problem: Boundary condition for (1)
After M monthly payment remaining loan equals 0. Hence, x(M) = 0. This is the boundary condition.
Also, x(0) = P, the principal loan amount, this is the initial condition.
Solution of (1) using direct solution of Difference equation using shift operator E,
Hence (1) becomes
Homogenous part
Auxilary equation
Hence where A is arbitrary constant.
PARTICULAR SOLUTION
Total solution
..................................................................................(2)
using
in (2) we get
, remaining loan after nth monthly payment.....................(3)
, monthly payment...............................................(4)
where P = principal loan amount, R =fixed interest rate %
 
Example  
Prev |  Next |  Home  | Contact us  | Objective