quadratureLobatto2Integrate integral with user dependent inputs |
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:
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 |