a collection of calculus-related functions
Project description
pyculus - A Python Library for Calculus Operations
📌 Overview
pyculus is a Python library that provides calculus-related functions including:
- Simplification of expressions
- Domain determination
- Derivative calculations
- Finding critical points
- Table of variations
- Increasing and decreasing intervals
- Graph plotting
This library is built using SymPy, NumPy, and Matplotlib, making it useful for both symbolic mathematics and visualization.
🚀 Installation
You can install pyculus using pip:
pip install pyculus
🔹 Usage
1️⃣ Import the Library
import pyculus as fn
2️⃣ Define a Function
from sympy import symbols
x = symbols('x')
f = x**4 - 2*x**2
3️⃣ Simplify the Function
simplified = fn.symplify(f)
print(simplified)
4️⃣ Find the Domain
d = fn.domain(f)
print("Domain:", d)
5️⃣ Compute the Derivative
derivative = fn.derivative(f)
print("Derivative:", derivative)
6️⃣ Find Critical Points
critical_pts = fn.critical_points(f)
print("Critical Points:", critical_pts)
7️⃣ Generate the Table of Variations
table = fn.table(f)
print("Table of Variations:", table)
8️⃣ Find Extreme Points
extreme_pts = fn.extreme(f)
print("Extreme Points:", extreme_pts)
9️⃣ Identify Increasing and Decreasing Intervals
increasing_intervals = fn.increasing(f)
decreasing_intervals = fn.decreasing(f)
print("Increasing Intervals:", increasing_intervals)
print("Decreasing Intervals:", decreasing_intervals)
🔟 Plot the Function
fn.graph(f)
---
## **📌 Features**
- **Symbolic Computation:** Uses SymPy for mathematical operations.
- **Automatic Domain Calculation:** Handles function continuity.
- **Calculus Tools:** Finds derivatives, critical points, and variation tables.
- **Graphing Support:** Uses Matplotlib for visualizing functions.
- **Numerical Handling:** Leverages NumPy for better numerical processing.
---
## **🛠 Dependencies**
Function requires the following libraries:
- `sympy`
- `numpy`
- `matplotlib`
These will be installed automatically with `pip install function`.
---
## **📄 License**
This project is licensed under the **GNU General Public License v3.0 (GPL-3.0)**. See the [LICENSE](LICENSE) file for details.
---
## **📞 Contact**
For any questions, bug reports, or feature requests, send an email:
pythonfunctionslibrery@gmail.com
Happy coding! 🚀
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyculus-0.0.1.tar.gz
(15.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pyculus-0.0.1-py3-none-any.whl
(15.5 kB
view details)
File details
Details for the file pyculus-0.0.1.tar.gz.
File metadata
- Download URL: pyculus-0.0.1.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5cb289b8e78bdeb0136e629c6a674ac92df27a23be00b85439006a1eaea67b61
|
|
| MD5 |
27c6381a61782ee853312965e13d5f79
|
|
| BLAKE2b-256 |
0c4d6f1f751b5f1dfb1cfd7928b14796283625b94ca6fcef192ebfd22595318d
|
File details
Details for the file pyculus-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pyculus-0.0.1-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60cb67cd75da29d4392d70134f030e2214fc7d3473a4593d96220a3bf6791662
|
|
| MD5 |
2f14d3ae9a745e8edeb09e575875f86b
|
|
| BLAKE2b-256 |
d1870516cc262ec70928c0f8b98b83b8a72e9e52601818712130d24888f11d0e
|