This example integrates the following integrands with function quadratureLobatto and compares the result with an analytical solution. The examples also demonstrate how additional input arguments to the integrand function can be passed as additional arguments. The following integrals are computed:
function quadratureLobatto1 extends Modelica.Icons.Function; import Modelica.Utilities.Streams.print; input Real tolerance = 1e-5 "Error tolerance of integral values"; end quadratureLobatto1;