This blocks computes the output y as sine of the input u.
The amplitude of the cosine is given either by a parameter or ba yn optopnal input.