Science talk:Math Exam Resources/Courses/MATH221/April 2013/Question 02 (d)

From UBC Wiki

Contents

Thread titleRepliesLast modified
Verifying my calculations016:31, 8 December 2013

Verifying my calculations

The same code that verifies this solution is the following:

A = Matrix(QQ, 4,4,[[1,2,1,3],[3,4,9,0],[2,3,5,1],[2,2,8,-3]])

b = vector(QQ,[2,7,8,5])

print A\b // This returns (-39, 31, 0, -7)

JeromeLefebvre (talk)16:31, 8 December 2013