Skip to content

Commit

Permalink
autoformat model, phetsims/phet-info#216
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Sep 11, 2023
1 parent 1139488 commit cb1c323
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions doc/model.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ A summary of the symbols used in this simulation:
A _Fourier Series_ decomposes a periodic function into a set of sines or cosines. The
_series type_ refers to whether the Fouriers Series uses sines (a _sine series_) or cosines (a _cosine series_[](url)).

The sines or cosines are referred to as _harmonics_ or _components_, terms that you can feel free to
use interchangeably. For pedagogical reasons, the **Discrete** and **Wave Game** screens refer to _harmonics_
while the **Wave Packet** screen refers to _components_. The more harmonics that are used in a Fourier Series,
the more accurately a periodic function can be approximated.
The sines or cosines are referred to as _harmonics_ or _components_, terms that you can feel free to use
interchangeably. For pedagogical reasons, the **Discrete** and **Wave Game** screens refer to _harmonics_
while the **Wave Packet** screen refers to _components_. The more harmonics that are used in a Fourier Series, the more
accurately a periodic function can be approximated.

Each harmonic has an _order_ or _harmonic number_, numbered starting from 1. The
_fundamental harmonic_ (or simply _fundamental_) is the lowest frequency of the periodic function, its order is 1,
and its amplitude is A<sub>1</sub>.
_fundamental harmonic_ (or simply _fundamental_) is the lowest frequency of the periodic function, its order is 1, and
its amplitude is A<sub>1</sub>.

## Discrete screen

Expand Down Expand Up @@ -84,13 +84,11 @@ user's guess. When the amplitudes of the guess series match the amplitudes of th
challenge.

The Amplitudes (top) chart allows the user to set amplitudes for the guess series. The Harmonics (middle) chart plots
each harmonic in the
guess series. The Sum (bottom) chart shows the guess series (in black) superimposed on top of the answer series (in
hot pink).
each harmonic in the guess series. The Sum (bottom) chart shows the guess series (in black) superimposed on top of the
answer series (in hot pink).

Each level of the game has a different number of non-zero harmonics in the challenge, and a different number of '
Amplitude
Controls' (sliders and keypads) for setting amplitudes. Each challenge includes some controls for
Amplitude Controls' (sliders and keypads) for setting amplitudes. Each challenge includes some controls for
zero-amplitude harmonics, to make the challenges a bit more difficult. The student can increase the number of
zero-amplitude controls using the 'Amplitude Controls' spinner, but each level has a minimum number of controls.

Expand Down

0 comments on commit cb1c323

Please sign in to comment.