Numerical integration

From vibeeval/vibecosystem · View interactive version

Numerical integration is an AI agent skill from the GitHub repository vibeeval/vibecosystem. Problem-solving strategies for numerical integration in numerical methods

How to use this skill

Skill file

Numerical Integration

When to Use

Use this skill when working on numerical-integration problems in numerical methods.

Decision Tree

  1. Identify Integral Type
  1. Select Quadrature Method
  1. Adaptive Integration
  1. Multiple Dimensions
  1. Verify Accuracy

Tool Commands

Scipy_Quad

uv run python -c "from scipy.integrate import quad; import numpy as np; result, err = quad(lambda x: np.sin(x), 0, np.pi); print('Integral:', result, 'Error:', err)"

Scipy_Dblquad

uv run python -c "from scipy.integrate import dblquad; result, err = dblquad(lambda y, x: x*y, 0, 1, 0, 1); print('Integral:', result)"

Sympy_Integrate

uv run python -m runtime.harness scripts/sympy_compute.py integrate "sin(x)" --var x --from 0 --to "pi"

Key Techniques

From indexed textbooks:

Cognitive Tools Reference

See .claude/skills/math-mode/SKILL.md for full tool documentation.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.