Converting from 2nd order to nth order system of equation solutions