x

f(x)=

xMin =

xMax

dx

+

–

◦

x_0 =

Schrittweite:

Änderung:

Änderungsrate:
Steigung:

h =

xmax = 2 (slider from -5 to 10)
xmin = -2 (slider from -5 to 5)
dx = 1 (slider from -5 to 5)
f(x) = x^(2)
W = Sequence(f(i), i, xmin, xmax, dx)
H = Sequence(If[Element[W, i] ∈ {Infinity, -Infinity}, NaN, Element[W, i]], i, 1, Length[W])
W0 = Remove(W, {Infinity})
W2 = RemoveUndefined(H)
ymin0 = Min(W2)
ymax0 = Max(W2)
bMax = Max({abs(ymax0), abs(ymin0)})
x0: 1
h: 1
df: f(x0 + h) - f(x0)
a = 1
WT = Sequence({i, f(i)}, i, xmin, xmax, dx)
P0: (a | f(a))
Text1: "f: " + (LaTeX[a]) + " \rightarrow " + (LaTeX[f(a)]) + ""
pos = If(a < 0, ((xmax - xmin) / 15 | 0), Vector[(-((xmin - xmax) / 100 | 0))])
WText = Insert({{"x", "f(x)"}}, WT, 1)
Text2 = TableText(WText, "v|_ll")
b = 1 (slider from xmin to xmax, step dx)
ma = 1 (slider from -5 to 5)
ymax = If(ymax0 < 0, bMax / 10, ymax0 + bMax / 10)
ymin = If(ymin0 > 0, ((-bMax)) / 10, ymin0 - bMax / 10)
Eingabefeld1 = Textfield(f)
Eingabefeld2 = Textfield(xmin)
Eingabefeld3 = Textfield(xmax)
Eingabefeld4 = Textfield(dx)
W1 = RemoveUndefined(W0)
P: (x0 | f(x0))
Q: (x0 + h | f(x0 + h))
s = Line(P, Q)
m: df / h
Eingabefeld5 = Textfield(x0)
v: (ymax - ymin + 2) / (xmax - xmin + 2)
R: (x(Q) | y(P))
u = Vector(P, R)
w = Vector(R, Q)
g = Segment(P, Q)
Text4: "f(x_0+h)-f(x_0) = " + (LaTeX[df]) + ""
Text5: "m(x_0, x_0+h)=\frac{f(x_0+h)-f(x_0)}{h} = " + (LaTeX[m]) + ""
fmax = Max({f(x0), f(x0 + h)})
fmin = Min({f(x0), f(x0 + h)})
Eingabefeld6 = Textfield(h)