.IDEAS.Utilities.Math.Functions.trapezoidalIntegration

Information

This function computes a definite integral using the trapezoidal rule.

Interface

function trapezoidalIntegration
  extends Modelica.Icons.Function;
  input Integer N "Number of integrand points";
  input Real[:] f "Integrands";
  input Real deltaX "Width of interval for Trapezoidal integration";
  output Real result "Result";
end trapezoidalIntegration;

Revisions


Generated at 2025-01-21T19:25:52Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos