a java program that evaluates and solves non-linear equations.