Skip to main content

A comprehensive toolkit for learning and visualizing calculus concepts

Project description

Calculus.py

Tests PyPI version Python versions License: MIT Downloads

A comprehensive Python toolkit for learning and visualizing single-variable calculus concepts through interactive demonstrations.

✨ Features

  • Basic Rules: Power, Product, Chain, and Quotient rule demonstrations
  • Fundamental Theorem: FTC Parts 1 & 2 with Riemann sum visualizations
  • Derivatives: Complete library with pattern recognition and critical point analysis
  • Integrals: Advanced techniques including integration by parts and u-substitution
  • Interactive Games: Practice exercises with instant feedback
  • Custom Explorer: Analyze user-defined functions

🚀 Quick Start

pip install calculus-learn-kit

Then run it.

calculus

Or build from the source:

# Clone and install
git clone https://github.com/aalotai1/calculus.py.git
cd calculus.py
pip install -r requirements.txt

# Run interactive toolkit
python src/main.py

📦 Dependencies

  • NumPy - Numerical computations
  • Matplotlib - Visualizations and plotting
  • SymPy - Symbolic mathematics
  • SciPy - Scientific computing

💻 Usage

from src.basic_rules_viz import CalculusRules
from src.derivatives_viz import CommonDerivatives

# Demonstrate calculus concepts
rules = CalculusRules()
rules.power_rule_demo(3)

derivatives = CommonDerivatives()
derivatives.demonstrate_derivative_patterns()

🏗️ Architecture

src/
├── *_core.py     # Mathematical computation engines
├── *_viz.py      # Visualization and demonstration layers
└── main.py       # Interactive CLI interface
test/
└── main_test.py  # Comprehensive test suite

Core Modules:

  • basic_rules_* - Fundamental calculus rules
  • fundamental_theorem_* - FTC demonstrations and Riemann sums
  • derivatives_* - Comprehensive derivatives library
  • integrals_* - Advanced integration techniques

🧪 Testing

python -m pytest test/ -v

📚 Educational Use

  • Students: Visual learning with step-by-step demonstrations
  • Educators: Lecture support and assignment generation
  • Coverage: Calculus I/II, AP Calculus, University-level concepts

📄 License

MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

calculus_learn_kit-1.0.4.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

calculus_learn_kit-1.0.4-py3-none-any.whl (36.3 kB view details)

Uploaded Python 3

File details

Details for the file calculus_learn_kit-1.0.4.tar.gz.

File metadata

  • Download URL: calculus_learn_kit-1.0.4.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for calculus_learn_kit-1.0.4.tar.gz
Algorithm Hash digest
SHA256 7741328f3fc82c6f0c7868c7a91b090345eb4be9becfe5fff806522d28199185
MD5 c9fe75beeaf19b8ddab3795bff707b6c
BLAKE2b-256 29e556b699cdcde3c8292a2d62a6de5bcb2d3343473414e32a34cccb1a6d9759

See more details on using hashes here.

File details

Details for the file calculus_learn_kit-1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for calculus_learn_kit-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 84f6ca6370f66826b42fdaebf850406aefcf079ba04c6ab7e90335e91dc08bb2
MD5 403afb3ea4c88a7d2bf6a46cc82f0193
BLAKE2b-256 ec906bc74b7b445ee74a5d9356405be982f0af3e48538448098bb48cd99ee208

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page