This function returns y = cos(u), where u is an angle.
function cos
extends Modelica.Math.Icons.AxisLeft;
input Q.Angle u annotation(
Dialog(__Dymola_label = "<html><i>u</i></html>"));
output Real y annotation(
Dialog(__Dymola_label = "<html><i>y</i></html>"));
end cos;