Loading
A linear difference equation links , , … like a differential equation links . The Z-transform turns it into algebra for , with the starting values built in.
Solve with , using the Z-transform.
The calculator below opens on this example.
Dropping the initial values.
Partial fractions of Y instead of Y/z.
Wrong sign in the shift.
Not checking.
Write y(n+1) or y_{n+1}. The right side may use 2^n, n, cos(n pi/2) …
Add this calculator to a new note, next to your own working. It stays live: change the numbers there any time.