T319

f(x) = If[π / 2 ≤ x ≤ (5 * π / 2), 2^(sin(x))]
teksti1 = LaTeX(f, true, true)
p = 868 (slider from 1 to 1000, step 1)
alasumma = LowerSum(f, π / 2, (5 * π / 2), p)
teksti2 = LaTeX(alasumma, true, true)
yläsumma = UpperSum(f, π / 2, (5 * π / 2), p)
teksti3 = LaTeX(yläsumma, true, true)
tarkka = Integral(f, π / 2, (5 * π / 2))
teksti4 = LaTeX(tarkka, true, true)