I have the following question and I have coded the following for it:
def prob6(): """Time regular and sparse linear system solvers. For variou