Try it · Impurity
Change the inputs and compare the recalculated curves with the preceding derivation and baseline figure. The axes give the units; the numerical readout states the model assumptions and any limiting cases. Reset the inputs to return to the reference setting.
Download the corresponding editable notebook. The browser recalculates the reduced equations directly; the notebook exposes the full calculation and its checks.
Python runs on this device. The first run loads the scientific libraries.
The optional OneSimulation calculation uses the local OneSimulation installation. Save this notebook to run that comparison in Jupyter.
The springs are identical and a single mass differs from the rest. Predict which sign of mass change produces a mode above the propagation band. The chain is periodic so an edge cannot trap the vibration.
Assemble the symmetric eigenproblem
Use host mass and spring constant as units. Converting from mass-weighted coordinates back to actual site displacement matters most at the impurity.
Compare the spatial profile and the infinite-chain dispersion
The analytic profile alternates sign when the frequency lies above the band. No decaying above-band solution exists for a heavy defect; its uppermost finite-chain mode remains a valid numerical eigenvector.
Test translation symmetry and the original force balance
Check the acoustic mode and the equation before mass weighting. Increase the ring size at a mass ratio just below one and track the small difference between the numerical eigenfrequency and the infinite-chain limit.
Optional independent OneSimulation eigensolve
Run the identical mass-weighted operator through the OneSimulation symmetric eigensystem interface, then check its highest eigenvalue and residual in the original coordinates.