Tarkka arvo

alasumma

yläsumma

n = 0 (slider from 0 to 150, step 1)
f(x) = If[x > 0, 5 / x]
a = Integral(f, 1, 5)
L_1 = Sequence(f(1 + (i * 4 / n) + 4 / ((2 * n))), i, 0, n - 1, 1)
L_2 = Sequence((f(1 + (i * 4 / n) + 4 / ((2 * n))) * 4 / n), i, 0, n - 1, 1)
Välisumma = Sum(L_2)
teksti1 = LaTeX(Välisumma, true, true)
b = LowerSum(f, 1, 5, 1600)
c = UpperSum(f, 1, 5, 1600)
erotus: c - b
teksti2 = LaTeX(erotus, true, true)