Toolverse
All skills

root-finding

by parcadei

Problem-solving strategies for root finding in numerical methods

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
parcadei
Category
Data Science
Views
1

About this skill

Problem-solving strategies for root finding in numerical methods

How to use

  1. Scharakteryzuj swój problem: czy szukasz jednego pierwiastka czy wielu, czy znasz przedział zawierający pierwiastek, czy masz dostęp do pochodnej funkcji.

  2. Wybierz metodę na podstawie decyzji z kroku 1. Jeśli pierwiastek jest w znanym przedziale i nie masz pochodnej, użyj Brenta. Jeśli masz pochodną, wybierz Newton-Raphson. Dla systemów równań zastosuj fsolve.

  3. Dla pojedynczego pierwiastka w przedziale [a, b] uruchom metodę Brenta: uv run python -c "from scipy.optimize import brentq; root = brentq(lambda x: x**2 - 2, 0, 2); print('Root:', root)"

  4. Jeśli dysponujesz pochodną funkcji, użyj Newton-Raphson z punktem startowym x0: uv run python -c "from scipy.optimize import newton; root = newton(lambda x: x*2 - 2, 1.0, fprime=lambda x: 2x); print('Root:', root)"

  5. Dla wielu pierwiastków spróbuj różnych punktów startowych lub użyj sympy do rozwiązania symbolicznego: uv run python -m runtime.harness scripts/sympy_compute.py solve "x**3 - x - 1" --var x

  6. Zweryfikuj wynik: sprawdź, czy wartość funkcji w znalezionym pierwiastku jest bliska zeru i czy pierwiastek leży w oczekiwanym obszarze.

Related skills

market-analysis

by xbklairith

Use when analyzing markets or interpreting charts - applies technical indicators (RSI, MACD, Moving Averages), identifies support/resistance, analyzes multi-timeframe trends, checks fundamentals and sentiment. Activates when user says \

Data Science
29144

docx

by anthropics

Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content,

Data Science
39142

market-research-reports

by davila7

Generate comprehensive market research reports (50+ pages) in the style of top consulting firms (McKinsey, BCG, Gartner). Features professional LaTeX formatting, extensive visual generation with scientific-schematics and generate-image, deep integration with research-lookup for

Data Science
16115

quant-analyst

by zenobi-us

Expert quantitative analyst specializing in financial modeling, algorithmic trading, and risk analytics. Masters statistical methods, derivatives pricing, and high-frequency trading with focus on mathematical rigor, performance optimization, and profitable strategy development.

Data Science
67217

a-stock-analysis

by openclaw

A股实时行情与分时量能分析。获取沪深股票实时价格、涨跌、成交量,分析分时量能分布(早盘/尾盘放量)、主力动向(抢筹/出货信号)、涨停封单。支持持仓管理和盈亏分析。Use when: (1) 查询A股实时行情, (2) 分析主力资金动向, (3) 查看分时成交量分布, (4) 管理股票持仓, (5) 分析持仓盈亏。

Data Science
48153

skill-installer

by openai

Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).

Data Science
23118