Module · Detail

Wave packet & Overlap

This module visualizes fundamental concepts of wave physics using a discrete simulation. Learners investigate the temporal development of a wave packet as well as the overlap of two waves and recognize node and antinode structures from this.

Time 40 minutes
Format Pygame
Language Python 3
Tasks 2
Preview image: Wave packet & Overlap

Introduction (Original excerpt)

In this exercise module, we consider a discrete view of a wave: Along a fixed number of points (array) we calculate the vertical displacement (samples) at each time point. The animation runs with pygame and shows the points connected as a line.

Didactic classification

Subjective objective

The building block introduces fundamental concepts of wave physics and connects them with algorithmic modeling. Starting point is a discrete representation of a wave along a series of points, whose deflection is calculated at any given time. The learners implement a function to calculate these deflections and then extend the model to overlap multiple waves. Mathematical functions are used to generate time- and space-dependent oscillations. Through visualization, phenomena such as wave packets, interference, nodes, and antinodes can be studied in detail. The connection between mathematical description and graphical simulation supports a deeper understanding of wave processes.

Competence development

Didactic added value in teaching

Flow of the lesson unit

1

Ü1: Moving wave packet

In this step, a function is implemented that calculates time-dependent deflection for each point along the wave. By combining a sinusoidal carrier wave with a limiting envelope curve, a wave packet emerges that moves across the screen.

  • Didactic focus: Modeling a moving wave form
  • Typical challenge: Combining spatial and temporal dependencies in a formula
2

Ü2: Knots & Antiknots at overlap

Building on the first step, the program is extended to generate two counter-running waves. Their overlap results in a standing wave, where fixed points without deflection (knots) and locations of maximum deflection (antiknots) become visible.

  • Didactic focus: Analysis of interference and standing waves
  • Typical challenge: Determining characteristic points in a discrete representation

Work assignment (excerpt)

1. Implement a function to calculate a moving wave packet along the given points. 2. Extend the model for the overlap of two counter-running waves and investigate the resulting knots and antiknots.

Example (excerpt)

The following excerpt shows the basic iteration over the discrete positions of the wave.

1
2
for i, x in enumerate(xs):
    samples[i] = ...

This fragment is didactically relevant because it illustrates the discrete calculation of deflection along the wave.

Hints for classroom practice

The simulation of discrete wave points makes visible how superposition and interference lead to complex wave patterns.

The structured sequence of tasks facilitates the organization of the lesson unit and supports clear result verification. Extension tasks enable a meaningful differentiation in terms of content.

Request a demo access and test this module in your own course context. In this way, wave phenomena can be linked to informative methods in an illustrative manner.