<>:36: SyntaxWarning:
invalid escape sequence '\s'
<>:36: SyntaxWarning:
invalid escape sequence '\s'
/tmp/ipykernel_1597147/3400740372.py:36: SyntaxWarning:
invalid escape sequence '\s'
Calculus is the mathematical study of continuous change, providing the theoretical foundation for modeling dynamic systems across science, engineering, and economics. The two fundamental operations—differentiation (measuring rates of change) and integration (computing accumulated quantities)—enable us to analyze everything from population growth and chemical reactions to planetary motion and market dynamics. When combined with ordinary differential equations (ODEs), calculus becomes a powerful tool for predicting system behavior over time.
In physics and engineering, calculus describes motion, heat transfer, fluid dynamics, and electrical circuits. In biology and medicine, it models population dynamics, epidemics, and pharmacokinetics. In economics and finance, it underpins optimal control theory, option pricing, and growth models. The tools in this category bring these computational capabilities directly into Excel, leveraging Python’s SciPy and CasADi libraries for numerical and symbolic computation.
Differentiation encompasses computing derivatives of functions—from simple univariate derivatives to structured approaches like the Jacobian matrix (first-order partial derivatives of vector-valued functions) and the Hessian matrix (second-order partial derivatives for optimization). Tools like JACOBIAN and HESSIAN enable sensitivity analysis and optimization support, while SENSITIVITY directly computes parameter sensitivities for model outputs.
Integration computes accumulated quantities, from evaluating definite integrals of smooth functions to integrating sampled data. Tools like QUAD and DBLQUAD perform numerical integration over one and two dimensions, while TRAPEZOID applies the composite trapezoidal rule to discrete datasets.
ODE models and solvers form the core of dynamical system simulation. Predefined models—LORENZ, LOTKA_VOLTERRA, SIR, SEIR—demonstrate canonical systems in chaos, ecology, and epidemiology. General solvers SOLVE_IVP and SOLVE_BVP handle arbitrary initial value and boundary value problems, enabling custom model definitions.
<>:36: SyntaxWarning:
invalid escape sequence '\s'
<>:36: SyntaxWarning:
invalid escape sequence '\s'
/tmp/ipykernel_1597147/3400740372.py:36: SyntaxWarning:
invalid escape sequence '\s'