https://technicalsource9.medium.com/how-to-solve-an-equation-system-using-a-interp1-variable-e5ebcec41913