Sinh

block Sinh "Output the hyperbolic sine of the input"
    extends Interfaces.SISO;
equation
    y = Modelica.Math.sinh(u);

    annotation (
        Icon(
            coordinateSystem(
                preserveAspectRatio = true,
                extent = {
                    {-100, -100}, 
                    {100, 100}}),
            graphics = {
                Polygon(
                    points = {
                        {0, 90}, 
                        {-8, 68}, 
                        {8, 68}, 
                        {0, 90}},
                    lineColor = {192, 192, 192},
                    fillColor = {192, 192, 192},
                    fillPattern = FillPattern.Solid), 
                Text(
                    extent = {
                        {-86, 80}, 
                        {-14, 32}},
                    textColor = {192, 192, 192},
                    textString = "sinh"), 
                Line(
                    points = {
                        {0, -80}, 
                        {0, 68}},
                    color = {192, 192, 192}), 
                Line(
                    points = {
                        {-90, 0}, 
                        {68, 0}},
                    color = {192, 192, 192}), 
                Line(
                    points = {
                        {-80, -80}, 
                        {-76, -65.4}, 
                        {-71.2, -51.4}, 
                        {-65.5, -38.8}, 
                        {-59.1, -28.1}, 
                        {-51.1, -18.7}, 
                        {-41.4, -11.4}, 
                        {-27.7, -5.5}, 
                        {-4.42, -0.653}, 
                        {24.5, 4.57}, 
                        {39, 10.1}, 
                        {49.4, 17.2}, 
                        {57.5, 25.9}, 
                        {63.9, 35.8}, 
                        {69.5, 47.4}, 
                        {74.4, 60.4}, 
                        {78.4, 73.8}, 
                        {80, 80}},
                    smooth = Smooth.Bezier), 
                Polygon(
                    points = {
                        {90, 0}, 
                        {68, 8}, 
                        {68, -8}, 
                        {90, 0}},
                    lineColor = {192, 192, 192},
                    fillColor = {192, 192, 192},
                    fillPattern = FillPattern.Solid)}),
        Documentation(info = "<html>\n<p>\nThis blocks computes the output <strong>y</strong> as the\n<em>hyperbolic sine</em> of the input <strong>u</strong>:\n</p>\n<blockquote><pre>\ny = <strong>sinh</strong>( u );\n</pre></blockquote>\n\n<p>\n<img src=\"modelica://Modelica/Resources/Images/Math/sinh.png\"\n     alt=\"sinh.png\">\n</p>\n\n</html>"));
end Sinh;