Lois de probabilité
Author: Exercice 1
Date: 10 Décembre 2013

a = -3 (slider from -5 to 0, step 0.1)
f = If(a ≤ x < 0, (a - x) / (2 * a), If[0 ≤ x ≤ 2, (2 - x) / 4])
b = Integral(f, a, 2)
texte1: "$ \int_a^2 f(x) \, \mathrm{d}x =" + (LaTeX[b]) + "$"