f(x) =

a =

b =

Approximation mit Trapezen

\downarrow

Integral

f(x) = (1 / sqrt((2 * pi)) * ℯ^((-1 / 2 * x^(2))))
a: -4
b: 4
n: 8
d = 1
Tn = 0.9998631895157
Eingabefeld1 = Textfield(f)
Eingabefeld2 = Textfield(a)
Eingabefeld3 = Textfield(b)
Text1: "T_{" + (LaTeX[n]) + "} \approx " + (LaTeX[Tn]) + ""
XPunkte = Sequence((a + (i * d), 0), i, 0, n)
Trapeze = Sequence(Polygon[{(a + ((i - 1) * d), 0), (a + (i * d), 0), (a + (i * d), f(a + (i * d))), (a + ((i - 1) * d), f(a + ((i - 1) * d)))}], i, 1, n)
c = false
YPunkte = Sequence((a + (i * d), f(a + (i * d))), i, 0, n)
I = Integral(f, a, b)
e = true
i = 4 (slider from 1 to n, step 1)
Ti = Element(Trapeze, i)
Text2: "\int\limits_{a}^{b} f(x) \; dx \approx " + (LaTeX[I]) + ""