You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The sine wave equation in one-dimension can be represented as:
$y(x, t) = A \sin(kx \pm \omega t + \phi)$
where:
$y(x,t)$ is the wave displacement at position $x$ and time $t$ $A$ is the amplitude $k = \frac{2\pi}{\lambda}$ is the wave number $\omega = 2\pi f$ is the angular frequency $\phi$ is the phase offset $+$ or $−$ depends on the direction of propagation (right or left)
Superposition Principle
The superposition principle states that when two or more waves overlap in space,
the resultant wave is the algebraic sum of their individual waves. When two waves $W_1$ and $W_2$
interfere, the resultant wave $W_R$ can be given by:
$W_R(x, t) = W_1(x, t) + W_2(x, t)$
Interference patterns are the result of the superposition of two or more waves.
These patterns can be either constructive or destructive depending on the phase
and amplitude of the interacting waves.
These patterns can display areas of both constructive and
destructive interference, and they are commonly seen in phenomena like double-slit experiments and
sound wave interference.
Wave Model Parameters
model_sinewave() function
Parameter
Description
Type
x
Positions of the wave ($x$): Positions where the wave is evaluated (m)
numpy.ndarray
t
Time of evaluation ($t$): Time at which the wave is evaluated (s)
float
A
Amplitude ($A$): Maximum displacement from equilibrium (m)
float
wavelength
Wavelength ($\lambda$): Length of one complete wave cycle (m)
float
frequency
Frequency ($f$): Number of oscillations per second (Hz)
float
phi
Phase offset ($\phi$): Shifts the wave horizontally (radians)
float (optional)
propagation
Propagation direction (x-axis): 'right' for positive, 'left' for negative