saegezahn

echte Sägezahnfunktion anzeigen

n = 1 (slider from 1 to 200, step 1)
h = 3.7 (slider from -5 to 5, step 0.1)
T = 7.5 (slider from 0.1 to 10, step 0.1)
ω: (2 * pi / T)
f(x) = ((2 * h / pi) * Sum[((-1)^(k - 1) * sin(((k * ω) * x)) / k), k, 1, n])
m: (2 * h / T)
l1 = Sequence(If[(-(T / 2)) + (k * T) ≤ x ≤ T / 2 + (k * T), (m * (x - (k * T)))], k, -30, 30)
l2 = Sequence(Segment[((k * T) + T / 2, h), ((k * T) + T / 2, (-h))], k, -30, 30)
a = true