The Mathematics of Sound Waves¶
McEwen, © 2025 | All Rights Reserved | Distribution Prohibited¶
version 1.0, 2025¶
This is a first version. It is a work in progress. Please report any errors or typos.
Many of the animations in this notebook are inspired by those found at Dan Russell's Acoustics and Vibration Animations website at Penn State University.
In [1]:
import ipywidgets as widgets
from ipywidgets import interact, IntSlider, FloatSlider
from IPython.display import HTML
import numpy as np
%matplotlib inline
import matplotlib.pyplot as plt
from bokeh.plotting import figure,show
from bokeh.io import output_notebook
output_notebook()
from numpy import pi, cos, sin, exp
#%load_ext autoreload
#%autoreload 2
from soundwave_plots import traveling_soundwave_animation, sound_reflection_animation, sound_standingwave_animation
from soundwave_Fourier import soundwave_interactive, pressure_plot
In [2]:
anim=traveling_soundwave_animation()
HTML(anim.to_jshtml())
Out[2]: