**operating systems:**

XP, Vista, 7, 8, 10

**single user license price:**

€24.95 - approximately $33

By clicking Buy Now! you will continue to the FastSpring checkout page where payment will be taken, and your order fulfilled by FastSpring, our trusted reseller, and Merchant of Record.

**download 30-day free trial!30-day money back guarantee!**

## pH calculation lectures » Newton method for finding function roots

Newton method is used for numerical solving of non-linear equations given in the form

To be able to solve the equation we must know its first derivative f'(x) (or we must be able to differentiate function numerically). As all functions we are interested in in pH calculations can be converted to polynomial forms we can assume that we know f'(x). Newton method of solving the equation (18.1) uses iterative formula:

The problem is n^{th} degree polynomial can have n different roots of which only one has chemical sense. To find it we have to select good value for x_{0}. In case of acids good starting value is concentration of H^{+} ions calculated with assumption of full dissociation of all protons.

Iterations are done until the difference between x_{n+1} and x_{n} gets smaller than the predefined treshold.

In case of polynomials having real roots Newton method is always convergent.