Skip to content
/ math Public

Browser-based function plotter that visualizes mathematical functions, their derivatives, and integrals with real-time controls.

Notifications You must be signed in to change notification settings

arturr0/math

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Function Plotter with Derivatives and Integrals

An interactive function plotter that visualizes mathematical functions, their derivatives, and integrals with real-time controls.

Chat App Preview

Features

  • Plot various function types: trigonometric, polynomial, exponential, and custom
  • Real-time visualization of derivatives (up to 4th order)
  • Integral calculation with area selection
  • Interactive controls for function parameters
  • Custom equation input with syntax checking
  • Responsive design that adapts to screen size

Supported Functions

  • Trigonometric: sin, cos, tan with adjustable parameters
  • Polynomial: Cubic functions (Ax³ + Bx² + Cx + D)
  • Exponential: Ae^(Bx) functions
  • Custom: User-defined equations using math.js syntax

Controls

Control Description
Function Type Select between trigonometric, polynomial, exponential, or custom functions
Parameters Adjust function parameters with sliders (amplitude, frequency, etc.)
Derivative Toggle derivative plot and select derivative level (0th to 4th)
Integral Activate integral mode and select area to calculate definite integral
Scale Adjust plot scale manually or reset to default

Custom Equation Syntax

The custom function input supports mathematical expressions using:

  • Basic operators: +, -, *, /, ^
  • Mathematical functions: sin(x), cos(x), tan(x), exp(x), log(x), etc.
  • Constants: pi, e
  • Variables: x (independent variable)

Example: 2*sin(3*x) + x^2 - 4

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/function-plotter.git

About

Browser-based function plotter that visualizes mathematical functions, their derivatives, and integrals with real-time controls.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published