This document summarizes an exercise involving calculating the inverse of square matrices in three ways: analytically, using LU decomposition, and singular value decomposition. It finds that analytical calculation becomes impractically slow for matrices larger than order 13, while LU decomposition and SVD using GNU Scientific Library functions can calculate the inverse of matrices up to order 350 in under 20 seconds. SVD is found to be slightly more efficient than LU decomposition for higher order matrices. Accuracy is also compared when the input matrix is close to singular, finding SVD returns the most accurate inverse.