humps
Mathematical Programming with Python
https://people.sc.fsu.edu/~jburkardt/classes/...
python_2025/humps/humps.html
humps:
Advanced hump analysis using scipy(),
focusing on the humps() test function originally developed in MATLAB,
we use a variety of scipy() functions to optimize, integrate,
differentiate, and perform ODE and BVP simulations.
Lecture notes:
-
humps.py, defines the humps()
function, as well as its first and second derivative
and antiderivative.
-
humps_local_min.py,
searches for the location of a local minimum in humps().
-
humps_local_max.py,
searches for the location of two local maximums in humps().
-
humps_zero.py,
searches for the location of a root of humps().
-
humps_interp.py,
uses 8 sample values of humps(x) to produce a
nearest neighbor, linear, or cubic interpolant.
-
humps_quad.py,
estimates the integral of humps(x) over [0,2].
-
humps_derivative.py,
estimates the derivative of humps(x).
-
humps_ode.py,
solves an ordinary differential equation whose solution
is humps(x).
-
humps_bvp.py,
solves a boundary value problem whose solution
is humps(x), using linear algebra.
-
humps_solve_bvp.py,
solves a boundary value problem whose solution
is humps(x), using the scipy function solve_bvp().
Last revised on 18 March 2025.