Oscillations de Rabi

w1 = 2.5 (slider from 0 to 5)
dw = 0 (slider from -5 to 5)
f(t) = (w1^(2) / (w1^(2) + dw^(2)) * (sin((sqrt(w1^(2) + dw^(2)) * t / 2)))^(2))