This function returns y = sin(u), where u is an angle.
function sin 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 sin;