y(n)=2y(n-1)-0.5(n-2)+x(n)-2x(n-1)+x(n-2)

Simple and best practice solution for y(n)=2y(n-1)-0.5(n-2)+x(n)-2x(n-1)+x(n-2) equation. Check how easy it is, and learn it for the future. Our solution is simple, and easy to understand, so don`t hesitate to use it as a solution of your homework.

If it's not what You are looking for type in the equation solver your own equation and let us solve it.

Solution for y(n)=2y(n-1)-0.5(n-2)+x(n)-2x(n-1)+x(n-2) equation:


Simplifying
y(n) = 2y(n + -1) + -0.5(n + -2) + x(n) + -2x(n + -1) + x(n + -2)

Multiply y * n
ny = 2y(n + -1) + -0.5(n + -2) + x(n) + -2x(n + -1) + x(n + -2)

Reorder the terms:
ny = 2y(-1 + n) + -0.5(n + -2) + x(n) + -2x(n + -1) + x(n + -2)
ny = (-1 * 2y + n * 2y) + -0.5(n + -2) + x(n) + -2x(n + -1) + x(n + -2)

Reorder the terms:
ny = (2ny + -2y) + -0.5(n + -2) + x(n) + -2x(n + -1) + x(n + -2)
ny = (2ny + -2y) + -0.5(n + -2) + x(n) + -2x(n + -1) + x(n + -2)

Reorder the terms:
ny = 2ny + -2y + -0.5(-2 + n) + x(n) + -2x(n + -1) + x(n + -2)
ny = 2ny + -2y + (-2 * -0.5 + n * -0.5) + x(n) + -2x(n + -1) + x(n + -2)
ny = 2ny + -2y + (1 + -0.5n) + x(n) + -2x(n + -1) + x(n + -2)

Multiply x * n
ny = 2ny + -2y + 1 + -0.5n + nx + -2x(n + -1) + x(n + -2)

Reorder the terms:
ny = 2ny + -2y + 1 + -0.5n + nx + -2x(-1 + n) + x(n + -2)
ny = 2ny + -2y + 1 + -0.5n + nx + (-1 * -2x + n * -2x) + x(n + -2)

Reorder the terms:
ny = 2ny + -2y + 1 + -0.5n + nx + (-2nx + 2x) + x(n + -2)
ny = 2ny + -2y + 1 + -0.5n + nx + (-2nx + 2x) + x(n + -2)

Reorder the terms:
ny = 2ny + -2y + 1 + -0.5n + nx + -2nx + 2x + x(-2 + n)
ny = 2ny + -2y + 1 + -0.5n + nx + -2nx + 2x + (-2 * x + n * x)

Reorder the terms:
ny = 2ny + -2y + 1 + -0.5n + nx + -2nx + 2x + (nx + -2x)
ny = 2ny + -2y + 1 + -0.5n + nx + -2nx + 2x + (nx + -2x)

Reorder the terms:
ny = 1 + -0.5n + nx + -2nx + nx + 2ny + 2x + -2x + -2y

Combine like terms: nx + -2nx = -1nx
ny = 1 + -0.5n + -1nx + nx + 2ny + 2x + -2x + -2y

Combine like terms: -1nx + nx = 0
ny = 1 + -0.5n + 0 + 2ny + 2x + -2x + -2y
ny = 1 + -0.5n + 2ny + 2x + -2x + -2y

Combine like terms: 2x + -2x = 0
ny = 1 + -0.5n + 2ny + 0 + -2y
ny = 1 + -0.5n + 2ny + -2y

Solving
ny = 1 + -0.5n + 2ny + -2y

Solving for variable 'n'.

Move all terms containing n to the left, all other terms to the right.

Add '0.5n' to each side of the equation.
0.5n + ny = 1 + -0.5n + 2ny + 0.5n + -2y

Reorder the terms:
0.5n + ny = 1 + -0.5n + 0.5n + 2ny + -2y

Combine like terms: -0.5n + 0.5n = 0.0
0.5n + ny = 1 + 0.0 + 2ny + -2y
0.5n + ny = 1 + 2ny + -2y

Add '-2ny' to each side of the equation.
0.5n + ny + -2ny = 1 + 2ny + -2ny + -2y

Combine like terms: ny + -2ny = -1ny
0.5n + -1ny = 1 + 2ny + -2ny + -2y

Combine like terms: 2ny + -2ny = 0
0.5n + -1ny = 1 + 0 + -2y
0.5n + -1ny = 1 + -2y

Reorder the terms:
-1 + 0.5n + -1ny + 2y = 1 + -2y + -1 + 2y

Reorder the terms:
-1 + 0.5n + -1ny + 2y = 1 + -1 + -2y + 2y

Combine like terms: 1 + -1 = 0
-1 + 0.5n + -1ny + 2y = 0 + -2y + 2y
-1 + 0.5n + -1ny + 2y = -2y + 2y

Combine like terms: -2y + 2y = 0
-1 + 0.5n + -1ny + 2y = 0

The solution to this equation could not be determined.

See similar equations:

| 4x=286 | | 11x^2=y | | 2m+14=11 | | z+72+90=180 | | 1x+7=7 | | X+16=.33(180-x) | | 3/7=b/5 | | 9x+4x-2x=4x+3x+12 | | 8y+6y+8=180 | | Tan-x=tanx | | 8y=36-y | | 2d+7=-4d+3(2d-5) | | 21x+5=23x-4 | | 2(x+3)+4=2(2x+5)+2x | | 0.12(5p-1)-p=0.15(7-2p) | | 45x+30=24x+72 | | https://s3.amazonaws.com/ck12bg.ck12.org/curriculum/105272/1.png | | 49+x+35=180 | | 4a+25=46 | | (8x-8)/8 | | 2x-10+4x+2=63 | | 2x+12=10x-20 | | 5+44=2+2 | | -6.25x+626.5=250 | | -6.25+626.5=250 | | 9x-33=2x+16 | | (7r6u-10)/21r-8u8) | | 4(2n+5)+4=3(5n-6) | | -6x-8x+12x-126=130-2x+8x-25 | | 9[7-(-9x-8)]=567x+567 | | x/2=12.5 | | 28=-2x^2+x |

Equations solver categories