solve x^4+px^3+q=0 for x