.Modelica.Math.Nonlinear.Examples.solveNonlinearEquations1

Information

This example solves the following nonlinear equations with function solveOneNonlinearEquation and compares the result with the available analytical solution. The examples also demonstrate how additional input arguments to the nonlinear equation function can be passes as additional arguments. The following nonlinear equations are solved:

Interface

function solveNonlinearEquations1
  extends Modelica.Icons.Function;
  import Modelica.Utilities.Streams.print;
  input Real tolerance = 100 * Modelica.Constants.eps "Relative tolerance of solution u";
end solveNonlinearEquations1;

Generated at 2020-06-05T07:38:22Z by OpenModelica 1.16.0~dev-420-gc007a39