Zum Inhalt springen
Skillpedia
Allgemeines Programmieren48k · #5916

sympy

Was er macht

Dieses Tool hilft dir, exakte mathematische Berechnungen mit Symbolen durchzuführen, ähnlich wie in einem Mathe-Heft, statt nur mit Zahlen. Es kann Gleichungen lösen, Ableitungen und Integrale berechnen und vieles mehr.

Wann du ihn nutzt

  • ✓Komplexe Gleichungen lösen, ohne Zahlen zu runden.
  • ✓Ableitungen oder Integrale von Funktionen berechnen.
  • ✓Mit Matrizen exakt rechnen.

Link zum Skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/sympy/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/sympy/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Löse die Gleichung x^2 - 4 = 0 nach x auf.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Du sagst mir, welche mathematische Aufgabe du lösen willst, und ich nutze die Bibliothek SymPy, um die exakte Lösung zu finden. Sie versteht Symbole wie „x“ und „y“ und rechnet damit.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

SymPy - Symbolic Mathematics in Python

Detailed Guide

Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.

When to Use This Skill

Use this skill when:

  • Solving equations symbolically (algebraic, differential, systems of equations)
  • Performing calculus operations (derivatives, integrals, limits, series)
  • Manipulating and simplifying algebraic expressions
  • Working with matrices and linear algebra symbolically
  • Doing physics calculations (mechanics, quantum mechanics, vector analysis)
  • Number theory computations (primes, factorization, modular arithmetic)
  • Geometric calculations (2D/3D geometry, analytic geometry)
  • Converting mathematical expressions to executable code (Python, C, Fortran)
  • Generating LaTeX or other formatted mathematical output
  • Needing exact mathematical results (e.g., sqrt(2) not 1.414...)

Getting Started Examples

Example 1: Solve Quadratic Equation

from sympy import symbols, solve, sqrt
x = symbols('x')
solution = solve(x**2 - 5*x + 6, x)
# [2, 3]

Example 2: Calculate Derivative

from sympy import symbols, diff, sin
x = symbols('x')
f = sin(x**2)
df_dx = diff(f, x)
# 2*x*cos(x**2)

Example 3: Evaluate Integral

from sympy import symbols, integrate, exp
x = symbols('x')
integral = integrate(x * exp(-x**2), (x, 0, oo))
# 1/2

Example 4: Matrix Eigenvalues

from sympy import Matrix
M = Matrix([[1, 2], [2, 1]])
eigenvals = M.eigenvals()
# {3: 1, -1: 1}

Example 5: Generate Python Function

from sympy import symbols, lambdify
import numpy as np
x = symbols('x')
expr = x**2 + 2*x + 1
f = lambdify(x, expr, 'numpy')
f(np.array([1, 2, 3]))
# array([ 4,  9, 16])

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Häufige Fragen

Was sind „symbolische Berechnungen“?

Dabei rechnest du mit Buchstaben und Symbolen (wie „x“, „y“ oder „sqrt(2)“) statt nur mit gerundeten Zahlen (wie 1,414 für die Wurzel aus 2). So bleibt das Ergebnis exakt.

Kann ich es für jede Art von Mathe nutzen?

Es eignet sich hervorragend für Algebra, Analysis, lineare Algebra sowie einige Bereiche der Physik und Zahlentheorie. Für komplexe Statistik oder maschinelles Lernen ist es nicht gedacht.

Muss ich Python können?

Nein. Du musst mir nur in einfacher Sprache sagen, was du möchtest. Den technischen Teil mit SymPy übernehme ich.

Details

Originalbeschreibung des Autors

SymPy is a Python library for symbolic mathematics that enables exact computation using mathematical symbols rather than numerical approximations.

repo: sickn33/agentic-awesome-skills

Beliebtheit

GitHub-Sterne
48k
Platz im Ranking
#5916
Lizenz
MIT
Aktualisiert
15.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills