Skip to main content

modified_sine

Function modified_sine 

Source
pub fn modified_sine(u: f64) -> [f64; 3]
Expand description

The modified sine over u in [0, 1]: its lift s, ds/du and d2s/du2 (VDI 2143; peak d2s/du2 4 pi^2 / (4 + pi) = 5.528 at u = 1/8 and 7/8, peak ds/du 4 pi / (4 + pi) = 1.760 at u = 1/2): a quarter sine of acceleration over the first and last eighth, a half sine of a third of its frequency between.