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

Function g

numerical_methods/midpoint_integral_method.cpp:97–97  ·  view source on GitHub ↗

* @brief A function g(x) that will be used to test the method * @param x The independent variable xi * @returns the value of the dependent variable yi = g(xi) = e^(-xi) * (4 - * xi^2) */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

expFunction · 0.85

Tested by

no test coverage detected