Rechteckschwingung

h(t) = A cos(t) -A/3 cos(3t) + A/5 cos(5t) - A/7 cos(7t) +A/9 cos(9t) + ..

A = 1.7 (slider from 1 to 10, step 0.1)
h_1(t) = (A * cos(t))
h_2(t) = (((-A)) / 3 * cos((3 * t)))
h_3(t) = (A / 5 * cos((5 * t)))
h_4(t) = (((-A)) / 7 * cos((7 * t)))
h_5(t) = (A / 9 * cos((9 * t)))
h(t) = h_1(t) + h_2(t) + h_3(t) + h_4(t) + h_5(t)