.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 2024-11-21T19:25:40Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos