Matrix diagonalization and singular value decomposition: Static SageMath and dynamic ChatGPT juxtaposed