I am facing problem to get correct answers for C1 W2 Exerceixe 4
i have done correct answers till exercise 3
I spent hours to figurout this
[[ 2. -1. 1. 1. 6. ]
[ 1. -1. 2. 1. 8. ]
[ -3. 16. 16. 14. 120. ]
[ -1.47058824 7.23529412 6.88235294 6.11764706 52.41176471]]
I am getting wrong answer
please help me in sorting out this
I cannot post here the code
so…then…i got stuck with exercise 5 and 6 also
Hi there, @Somasekhar_Donthu
First, make sure what you are doing in Q4 goes, more or less, along with these -
-
MultiplyRow(A, i, j)
\rightarrow A_{{ref}_{[i:]}} = j \times A_{{ref}_{[i:]}} -
AddRows(A, i, j, k)
\rightarrow A_{{ref}_{[j:]}} = k \times A_{{ref}_{[i:]}} + A_{{ref}_{[j:]}} -
SwapRows(A, i, j)
\rightarrow A_{{ref}_{[i:]}} = A_{{ref}_{[j:]}}, A_{{ref}_{[j:]}} = A_{{ref}_{[i:]}}
Especially, watch out for how you use Addrows
.
If you are done rechecking and still face the same problems, you can send me a private dm.
Best wishes…^^