Afficher les rectangles

Afficher les trapèzes

R = (1, 0)
P = (3, 0)
n = 3 (slider from 1 to 100, step 1)
f(x) = x^(2.0)
Rectinf = LowerSum(f, 1.0, 3.0, n)
Rectsup = UpperSum(f, 1.0, 3.0, n)
a = true
Trapeze = TrapezoidalSum(f, 1.0, 3.0, n)
b = false