de-CH
utf-8
math graphie polynomials
Periode bestimmen
t-02-02a
number
100
randRange(2,15) randRangeExclude(2,15,[Z]) 2*N/Z

Welche (Minimal-)Periode hat die Funktion \color{blue}{g} mit \color{blue}{g(x) = \cos \left( fractionReduce(Z,N) \cdot (\pi \, x)\right)} ?

P

Wir suchen die kleinste Zahl \color{red}{P} > 0 mit \color{blue}{g(x + \color{red}{P}) = g(x)}.

Es ist \color{blue}{g(x + \color{red}{P})} = \cos \left( fractionReduce(Z,N) \cdot (\pi \, (x +\color{red}{P}))\right) = \cos \left( fractionReduce(Z,N) \cdot \pi \, x + fractionReduce(Z,N)\pi \color{red}{P} \right).

Mit der Periode \color{orange}{2\pi} der Kosinus-Funktion versuchen wir nun \color{red}{P} so zu wählen, dass \color{orange}{ fractionReduce(Z,N)\pi \color{red}{P} = 2 \pi} gilt.

Denn dann ist

\cos \left( fractionReduce(Z,N) \cdot \pi \, x + \color{orange}{ fractionReduce(Z,N)\pi \color{red}{P} }\right) = \cos \left( fractionReduce(Z,N) \cdot \pi \, x + \color{orange}{2\pi}\right) = \cos \left( fractionReduce(Z,N) \cdot \pi \, x\right) = \color{blue}{g(x)}.

Um \color{red}{P} zu bestimmen, lösen wir die Gleichung \color{orange}{ fractionReduce(Z,N)\pi \color{red}{P} = 2 \pi} nach \color{red}{P} und sehen

\displaystyle \color{red}{P} = fractionReduce(2*N,Z).