Agent Context Isolation
The English summary is being prepared. Showing the original description.
Problem-solving strategies for root finding in numerical methods
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
Use this skill when working on root-finding problems in numerical methods.
Characterize the Problem
Method Selection
| Situation | Method | Implementation |
|---|---|---|
| Bracketed, no derivatives | Bisection, Brent | scipy.optimize.brentq |
| Derivatives available | Newton-Raphson | scipy.optimize.newton |
| No derivatives | Secant method | scipy.optimize.newton (no fprime) |
| System of equations | scipy.optimize.fsolve | Requires Jacobian ideally |
Implement Root Finding
scipy.optimize.brentq(f, a, b) - guaranteed convergence if bracketedscipy.optimize.newton(f, x0, fprime=df) - quadratic convergence near rootscipy.optimize.fsolve(F, x0)Handle Multiple Roots
sympy_compute.py solve "f(x)" --var x for symbolic solutionsVerify Solutions
z3_solve.py prove "f(root) == 0"uv run python -c "from scipy.optimize import brentq; root = brentq(lambda x: x**2 - 2, 0, 2); print('Root:', root)"
uv run python -c "from scipy.optimize import newton; root = newton(lambda x: x**2 - 2, 1.0, fprime=lambda x: 2*x); print('Root:', root)"
uv run python -m runtime.harness scripts/sympy_compute.py solve "x**3 - x - 1" --var x
From indexed textbooks:
See .claude/skills/math-mode/SKILL.md for full tool documentation.
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Agent Context Isolation
The English summary is being prepared. Showing the original description.
Agent Orchestration Rules
The English summary is being prepared. Showing the original description.
Agentic Workflow Pattern
The English summary is being prepared. Showing the original description.
Guide for integrating Agentica SDK with Claude Code CLI proxy
The English summary is being prepared. Showing the original description.
Reference guide for Agentica multi-agent infrastructure APIs
The English summary is being prepared. Showing the original description.
Write reliable prompts for Agentica/REPL agents that avoid LLM instruction ambiguity
The English summary is being prepared. Showing the original description.