Fouriersynthese
Author: Lgm

b = 1
a = 0
a1 = 1 (slider from -1 to 1, step 0.01)
a2 = 0.43999999999999995 (slider from -1 to 1, step 0.01)
a3 = 0.19999999999999996 (slider from -1 to 1, step 0.01)
a4 = 0.10000000000000009 (slider from -1 to 1, step 0.01)
a5 = 0.020000000000000018 (slider from -1 to 1, step 0.01)
f = Function(a1 sin(x 2 * 3.141592653589793), a, b)
g = Function(a2 sin(2 x 2 * 3.141592653589793), a, b)
h = Function(a3 sin(3 x 2 * 3.141592653589793), a, b)
p = Function(a4 sin(4 x 2 * 3.141592653589793), a, b)
q = Function(a5 sin(5 x 2 * 3.141592653589793), a, b)
S = Function(f(x) + g(x) + h(x) + p(x) + q(x), a, b)
b1 = 0 (slider from -1 to 1, step 0.01)
b2 = 0 (slider from -1 to 1, step 0.01)
b3 = 0 (slider from -1 to 1, step 0.01)
b4 = 0 (slider from -1 to 1, step 0.01)
b5 = 0 (slider from -1 to 1, step 0.01)
r = Function(b1 cos(x 2 * 3.141592653589793), a, b)
s_1 = Function(b2 cos(2 x 2 * 3.141592653589793), a, b)
t = Function(b3 cos(3 x 2 * 3.141592653589793), a, b)
f_1 = Function(b4 cos(4 x 2 * 3.141592653589793), a, b)
g_1 = Function(b5 cos(5 x 2 * 3.141592653589793), a, b)
C = Function(r(x) + s_1(x) + t(x) + f_1(x) + g_1(x), a, b)
s = Function(C(x) + S(x), a, b)