modelExtendedPolynomialDerivativeCheck
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This example checks whether the function derivative is implemented correctly. If the derivative implementation is not correct, the model will stop with an assert statement.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | c | {0.1162, 1.5404, -1.4825, 0.7664, -0.1971} | Polynomial coefficients |
| Real | xMin | 1 | Minimum x value for polynomial |
| Real | xMax | 2 | Maximum x value for polynomial |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | x | ||
| Real | y |
Revisions
-
March 23, 2011 by Michael Wetter:
Changed order of argument list to makexthe first argument. -
April 14, 2008, by Michael Wetter:
First implementation.