ΟΛΟΚΛΗΡΩΜΑ ΑΝΩ ΚΑΙ ΚΑΤΩ ΑΘΡΟΙΣΜΑ
Author: ΛΟΙΖΟΣ

Ανω άθροισμα

Κάτω άθροισμα

n = 4 (slider from 1 to 100, step 1)
a = 0 (slider from -5 to 5, step 1)
b = 1 (slider from -5 to 5, step 1)
f(x) = x^(2)
c = UpperSum(f, a, b, n)
d = LowerSum(f, a, b, n)
A: (a, 0)
B: (b, 0)
e = Integral(f, a, b)
DIAF: c - d
text5: " \int_{" + a + " }^{" + b + " } " + f + "=" + e
g = true
h = true
text1: "Ανω άθροισμα = " + c + ""
text2: "Κάτω άθροισμα= " + d + ""
text3: "Διαφορά= " + DIAF + ""