f(x) =

a =

b =

Approximation mit Trapezen

\downarrow

Integral

f(x) = ℯ^((-1 / 2 * x^(2))) / sqrt((2 * pi))
a: 0
b: 2
n = 10 (slider from 1 to 100, step 1)
d = 0.2
Tn = 0.4768901703016
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 = true
YPunkte = Sequence((a + (i * d), f(a + (i * d))), i, 0, n)
I = Integral(f, a, b)
e = true
i = 1 (slider from 1 to n, step 1)
Ti = Element(Trapeze, i)
Text2: "\int\limits_{a}^{b} f(x) \; dx \approx " + (LaTeX[Tn]) + ""