Example 22.
A simple sinusoidal function and its derivative