| 1 | [0, 0] | 1 | [0*0+1*0 + 0*1, -2*0 -3*0 + 1*1] = [0, 1] | [0+0*0.1, 0+1*0.1] = [0, 0.1] | [1*0 + 0*0] = 0 | Initial state x and input u given |
| 2 | [0, 0.1] | 1 | [0*0 + 1*0.1 + 0*1, -2*0 -3*0.1 + 1*1] = [0.1, 0.7] | [0+0.1*0.1, 0.1+0.7*0.1] = [0.01, 0.17] | [1*0 + 0*0.1] = 0 | Calculate x_dot, update x, compute y |
| 3 | [0.01, 0.17] | 1 | [0*0.01 + 1*0.17 + 0*1, -2*0.01 -3*0.17 + 1*1] = [0.17, 0.49] | [0.01+0.17*0.1, 0.17+0.49*0.1] = [0.027, 0.219] | [1*0.01 + 0*0.17] = 0.01 | Repeat calculation for next step |
| 4 | [0.027, 0.219] | 1 | [0*0.027 + 1*0.219 + 0*1, -2*0.027 -3*0.219 + 1*1] = [0.219, 0.103] | [0.027+0.219*0.1, 0.219+0.103*0.1] = [0.049, 0.229] | [1*0.027 + 0*0.219] = 0.027 | Continue updating state and output |
| 5 | [0.049, 0.229] | 1 | [0*0.049 + 1*0.229 + 0*1, -2*0.049 -3*0.229 + 1*1] = [0.229, -0.123] | [0.049+0.229*0.1, 0.229-0.123*0.1] = [0.072, 0.217] | [1*0.049 + 0*0.229] = 0.049 | State and output updated again |
| 6 | [0.072, 0.217] | 1 | [0*0.072 + 1*0.217 + 0*1, -2*0.072 -3*0.217 + 1*1] = [0.217, -0.345] | [0.072+0.217*0.1, 0.217-0.345*0.1] = [0.094, 0.182] | [1*0.072 + 0*0.217] = 0.072 | Process continues |
| 7 | [0.094, 0.182] | 1 | [0*0.094 + 1*0.182 + 0*1, -2*0.094 -3*0.182 + 1*1] = [0.182, -0.537] | [0.094+0.182*0.1, 0.182-0.537*0.1] = [0.112, 0.128] | [1*0.094 + 0*0.182] = 0.094 | Next iteration |
| 8 | [0.112, 0.128] | 1 | [0*0.112 + 1*0.128 + 0*1, -2*0.112 -3*0.128 + 1*1] = [0.128, -0.683] | [0.112+0.128*0.1, 0.128-0.683*0.1] = [0.125, 0.059] | [1*0.112 + 0*0.128] = 0.112 | State and output updated |
| 9 | [0.125, 0.059] | 1 | [0*0.125 + 1*0.059 + 0*1, -2*0.125 -3*0.059 + 1*1] = [0.059, -0.768] | [0.125+0.059*0.1, 0.059-0.768*0.1] = [0.131, -0.018] | [1*0.125 + 0*0.059] = 0.125 | State moves closer to steady state |
| 10 | [0.131, -0.018] | 1 | [0*0.131 + 1*(-0.018) + 0*1, -2*0.131 -3*(-0.018) + 1*1] = [-0.018, -0.683] | [0.131-0.018*0.1, -0.018-0.683*0.1] = [0.129, -0.086] | [1*0.131 + 0*(-0.018)] = 0.131 | Final step shown |
| Exit | | | | | | Simulation stops after 10 steps |