Phase_2 = 0 (slider from 0 to 6.28318531, step 0.1)
Frequence_2 = 50 (slider from 0 to 500, step 1)
Amplitude_2 = 158 (slider from 0 to 500, step 1)
Echelle_{V1} = 3 (slider from 1 to 5, step 1)
Division_{V1} = If(Echelle_{V1} ≟ 1, 5, Echelle_{V1} ≟ 2, 10, Echelle_{V1} ≟ 3, 20, Echelle_{V1} ≟ 4, 50, Echelle_{V1} ≟ 5, 100, 200)
t = 0 (slider from (-10 * Division_{V1}) to (10 * Division_{V1}), step Division_{V1} / 100)
Echelle_{V2} = 3 (slider from 1 to 5, step 1)
Division_{V2} = If(Echelle_{V2} ≟ 1, 5, Echelle_{V2} ≟ 2, 10, Echelle_{V2} ≟ 3, 20, Echelle_{V2} ≟ 4, 50, 100)
Amplitude = 100 (slider from 0 to 500, step 1)
Frequence = 50 (slider from 0 to 500, step 1)
S1(x) = (Amplitude * sin(((((2 * π) * Frequence) * 0.001) * x)))
S2(x) = (Amplitude * sgn(sin(((((2 * π) * Frequence) * 0.001) * x))))
S3(x) = ((2 * Amplitude) * (((Frequence * 0.001) * x) - round(((Frequence * 0.001) * x))))
S40(x) = (Amplitude * If[(Frequence / 1000 * x) > round((Frequence / 1000 * x)), (Frequence / 1000 * x) - floor((Frequence / 1000 * x)), ceil((Frequence / 1000 * x)) - (Frequence / 1000 * x)])
S4(x) = (4 * S40(x + 250 / Frequence)) - Amplitude
Signal = 1 (slider from 1 to 4, step 1)
texte3: ("Signal = " * If[Signal ≟ 1, "sinus", Signal ≟ 2, "carré", Signal ≟ 3, "rampe", "triangulaire"])
fs1 = If(Signal ≟ 1, S1, Signal ≟ 2, S2, Signal ≟ 3, S3, S4)
fs2(x) = (Amplitude_2 * sin((((2 * π) * Frequence_2 / 1000) * x) + Phase_2))
P: (fs1(t), fs2(t))
lieu1 = Locus(P, t)
texte2: "Division tension 2 =  " + Division_{V2} + " [mV]"
texte1: "Division tension 1 =  " + Division_{V1} + " [mV]"