Puissance instantanée : p(t)

Puissance moyenne P de p(t)

dephasage = 0.9 (slider from 0 to 1.57079633, step 0.1)
f = 50 (slider from -5 to 50, step 0.1)
ω: 2 * π * f
u(t) = 12 * sqrt(2) * sin(ω * t)
i(t) = 5 * sqrt(2) * sin(ω * t - dephasage)
p(t) = u(t) * i(t)
a: Integral[p, 0, 0.01] / 0.01
P0(t) = a
AireP0 = Integral(p, 0, 0.01)