icon-Funktion Newton's-Method

f(x) =

cl

ok

Pos1

End

7

8

9

/

x

4

5

6

*

π

(

)

1

2

3

-

a

b

c

0

.

+

sin

cos

tan

ex

ln

log10

asin

acos

atan

x2

√x

xa

|x|

sinh

cosh

a⋅sin(b⋅x+c)

a⋅e(-b⋅x2+c)

a⋅x2+b⋅x+c

a⋅ln(|b⋅x+c|)

Number of iterations
Number=
x0=

Number of digits =

Line style

f(x)

Linear

Range values ​​of the axes
x-min= x-max=
y-min= y-max=
Range values ​​of the parameters
a-min= a-max=
b-min= b-max=
c-min= c-max=
Current value of the parameter
a=
b=
c=

Notation

The function must be entered in the notation of the Javascript syntax.

Constants

Three constants a, b and c are available, which can be changed by means of the sliders. The function is used to access the values using the value a.Value (), b.Value () or c.Value ().

Graphical representation of the Newton method

Evaluation table of the Newton method

Description of the Newton method

The aim of the Newton method is to find a zero of a generally non-linear function. That is to find a solution of the equation

fx=0

To achieve this, the function is linearized at a position x 0 by replacing the function with its tangent. Thus, by a straight line equation which passes through the point (x 0 ), the slope f '(x 0 ).

The general form of the straight line equation is

y=ax+b

Conditions

fx0=fx0x0+b

Dissolving after b

b=fx0-fx0x0

Thus the straight line equation is completely determined

y=fx0x+fx0-fx0x0 =fx0+fx0x-x0

The desired zero point of f is now replaced by the zero point of the straight line equation as the first approximation.

0=fx0+fx0x-x0

Resolving to x gives the first approximation for the zero point.

x=x0-fx0fx0

The iteration is to use this approximation as the starting point for the next approximation. The iteration process is then as follows:

xn+1=xn-fxnfxn

with any starting value x 0 . Against which and if at all the Newton method converges depends sensitively on the choice of the starting value.

Usable expressions in the definition of the function f(x)

Constants

NameDescription
LN2Natural logarithm of 2
LN10Natural logarithm of 10
LOG2EBase 2 logarithm of EULER
LOG10EBase 10 logarithm of EULER
PIRatio of the circumference of a circle to its diameter
SQRT1_2Square root of 1/2
SQRT2Square root of 2

Trigonometric Functions

FunctionDescription
sin(x)sine of x
cos(x)Cosine of x
tan(x)Tangent of x
asin(x)arcsine
acos(x)arccosine of x
atan(x)arctangent of x
atan2(y, x)Returns the arctangent of the quotient of its arguments.
cosh(x)Hyperbolic cosine of x
sinh(x)Hyperbolic sine of x

Logarithm and Exponential

FunctionDescription
pow(b, e)e to the b
sqrt(x)Square root of x
exp(x)EULER to the x
log(x), ln(x)Natural logarithm
log(x, b)Logarithm to base b
log2(x), lb(x)Logarithm to base 2
log10(x), ld(x)Logarithm to base 10

More functions

FunctionDescription
ceil(x)Get smallest integer n with n > x.
abs(x)Absolute value of x
max(a, b, c, ...)Maximum value of all given values.
min(a, b, c, ...)Minimum value of all given values.
random(max = 1)Generate a random number between 0 and max.
round(v)Returns the value of a number rounded to the nearest integer.
floor(x)Returns the biggest integer n with n < x.
factorial(n)Calculates n!
trunc(v, p = 0)Truncate v after the p-th decimal.
V(s)Returns the value of the given element, e.g. sliders and angles.