pub fn oscillation_spring_potential_energy( spring_constant: f64, displacement: f64, ) -> Option<f64>
Computes spring potential energy using U = 0.5 * k * x².
U = 0.5 * k * x²