Transformation of sinusoidal functions