Question: Generate three inverse calculations for an arbitrary nxn matrix A with random entries, with n = {5, 10, 20,50}. Use three inverse calculation methods: a)

Generate three inverse calculations for an arbitrary nxn matrix A with random entries, with n = {5, 10, 20,50}. Use three inverse calculation methods: a) the recursive method, b) the Gauss-Jordan method and c) the python library command: numpy.linalg.inv(). i) [5] What are the relative timing speeds of each as n varies? ii) [5] Are their precision differences as n increases? Suggest a way to investigate and evaluate this, giving a table of results. Generate three inverse calculations for an arbitrary nxn matrix A with random entries, with n = {5, 10, 20,50}. Use three inverse calculation methods: a) the recursive method, b) the Gauss-Jordan method and c) the python library command: numpy.linalg.inv(). i) [5] What are the relative timing speeds of each as n varies? ii) [5] Are their precision differences as n increases? Suggest a way to investigate and evaluate this, giving a table of results
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
