MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / midpoint_euler

Function midpoint_euler

numerical_methods/ode_midpoint_euler.cpp:107–144  ·  view source on GitHub ↗

* @brief Compute approximation using the midpoint-Euler * method in the given limits. * @param[in] dx step size * @param[in] x0 initial value of independent variable * @param[in] x_max final value of independent variable * @param[in,out] y take \f$y_n\f$ and compute \f$y_{n+1}\f$ * @param[in] save_to_file flag to save results to a CSV file (1) or not (0) * @returns time t

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.85

Calls 2

midpoint_euler_stepFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected