Week 2 assignment Exercise 5

When the assignment states " From the last line of the reduced matrix A_ref find 𝑥4." What is the “x” that it’s referring to? I thought it may be the variable attached to each constant of the system of equations, but there are 5 variables and the exercise asks for x1-x4.

Hi, @Devin_ONeill!

Remember that, at this stage of the assignment, you have stacked both A and b, so the x_4 which the assignment is refering to is the fourth unknown variable in the system, whereas the fifth index is the stacked b vector.

Thanks,
Lucas

Thank you so much for the quick response!

I keep getting an error that A-ref is not defined. How should I fix this?

Hey Ivana

I think you have mistyped it, it should be A_ref not A-ref. Can you please check if A_ref works for you?

Thank you, all good now

A_ref is giving same error too.