a java program that evaluates, solves non-linear equations