Solving Cubic Polynomial Equations And Functions