Hello, I am stuck with the graded assessment lab’s exercise 2 (back substitution).
I have tried many things, including looking at the unittest file but I am still unsure of what I am doing wrong. I pass the first test case, but fail with the rest of them. Is there any way I could get some support? Thanks
Wrong output for test case check_matrix_1.
Expected:
[-0.33333333 -1.33333333 2.33333333].
Got:
[ 3. -0.9 2.33333333].
Wrong output for test case check_matrix_2.
Expected:
[0.7857143 1.64285714 0. ].
Got:
[ 8. -0.35714286 0. ].
Wrong output for test case check_matrix_3.
Expected:
[19. -2. 1.].
Got:
[ 8. -10. 1.].
1 Tests passed
3 Tests failed
type or paste code here