Function shear_strain
pub fn shear_strain(displacement: f64, height: f64) -> Option<f64>Expand description
Computes engineering shear strain from lateral displacement and height.
Formula: γ = x / h.
Returns None when height is less than or equal to zero or when any input or result is not
finite.