public Complex Newt(Complex z, double i, double j, int mode) {
		if (mode == 1) {
			return z.sub(UnityFunction(z, i, j).div(UnityDerivative(z, i, j)));
		} else if (mode == 2) {
			return z.sub(Poly2Function(z, i, j).div(Poly2Derivative(z, i, j)));
		} else if (mode == 3) {
			return z.sub(DivZ2Function(z, i, j).div(DivZ2Derivative(z, i, j)));
		} else if (mode == 4) {
			return z.sub(Poly3Function(z, i, j).div(Poly3Derivative(z, i, j)));
		} else if (mode == 5) {
			return z.sub(DivZFunction(z, i, j).div(DivZDerivative(z, i, j)));
		} else {
			return z.sub(PolyFunction(z, i, j).div(PolyDerivative(z, i, j)));
		}
	}