This function returns y = tan(u), where u is an angle (if u is a multiple of (n - 1/2) π rad, then y = tan(u) is ±∞).
function tan
extends Modelica.Math.Icons.AxisCenter;
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 tan;