Author: (c) Project Maths Development Team 2011

Click to see the area enclosed by g(x) and f(x)

Click to see the area enclosed by g(x) and the x axis

Click to see the area enclosed by f(x) and the x axis

f(x) = x^(2)
m = 1 (slider from -1.5 to 1.5, step 0.1)
c = 2 (slider from 0 to 4, step 0.1)
g(x) = (m * x) + c
A, B = Intersect(f, g)
a: x(A)
b: x(B)
d = Integral(g, a, b)
e = Integral(f, a, b)
q: d - e
j = false
k = false
h = false
text4: "g(x) = " + (LaTeX[g]) + ""
text3: "f(x) = " + (LaTeX[f]) + ""
text5: "The area enclosed by  the curve and the line is = " + q + ""
text1: "Area =\int_{" + (LaTeX[a]) + "}^{" + (LaTeX[b]) + "}{(" + (LaTeX[g]) + ")}\;dx=" + (LaTeX[d]) + " "
i = IntegralBetween(f, g, x(A), x(B))
text6: "Area =\int_{" + (LaTeX[a]) + "}^{" + (LaTeX[b]) + "}{(" + (LaTeX[f]) + ")}\;dx=" + (LaTeX[e]) + "  "