Tag

global-maximum

1 views collected around this technical thread.

Model Perspective
Model Perspective
Jun 22, 2022 · Fundamentals

How to Find the Global Maximum of (1‑x³)·sin(3x) Using Python and SciPy

This article demonstrates how to locate the global maximum of the function f(x) = (1‑x³)·sin(3x) by visualizing it with Matplotlib, applying SciPy’s optimization tools such as fminbound, and comparing deterministic methods with random sampling, highlighting the pitfalls of local optima.

Numerical MethodsPythonSciPy
0 likes · 3 min read
How to Find the Global Maximum of (1‑x³)·sin(3x) Using Python and SciPy