WOLFRAM SYSTEM MODELER

quadratureLobatto2

Integrate integral with user dependent inputs

Wolfram Language

In[1]:=
SystemModel["Modelica.Math.Nonlinear.Examples.quadratureLobatto2"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This example solves the following integrands with function quadratureLobatto. The user can set the parameters, like "w" or "k", and can experiment with different integration intervals. The following integrals are computed:

  • integral(sin(x)*dx)
  • integral(sin(w*x)*dx)
  • elliptic integral

Syntax

quadratureLobatto2(Tolerance, a1, b1, a2, b2, w, a3, b3, k)

Inputs (9)

Tolerance

Default Value: 1e-5

Type: Real

Description: Error tolerance of integral value

a1

Default Value: 0

Type: Real

Description: Lower limit

b1

Default Value: 1

Type: Real

Description: Upper limit

a2

Default Value: 0

Type: Real

Description: Lower limit

b2

Default Value: 13

Type: Real

Description: Upper limit

w

Default Value: 5

Type: Real

Description: Angular velocity

a3

Default Value: 0

Type: Real

Description: Lower limit

b3

Default Value: Modelica.Constants.pi / 2

Type: Real

Description: Upper limit

k

Default Value: 1 / sqrt(2)

Type: Real

Description: Modul