Modeling with sinusoidal functions