Azlaan Electric AC Solar Center — Solar, CCTV, AC & electrical work, Faisalabad Call: 0300-8987448

Function Graph Plotter

Plot any math function on an interactive coordinate grid. Type an expression like x^2 or sin(x), zoom in and out, and compare up to three graphs in different colors.

Functions

View range

Graph

How to use

  1. Type a function with x as the variable, for example x^2, sin(x) or sqrt(x).
  2. Press Plot. The curve draws on the grid with numbered axes.
  3. Use Zoom In and Zoom Out to inspect details, or set the X and Y ranges by hand.
  4. Add a second or third function to compare shapes on the same grid.

Supported: numbers, x, + - * / ^ (power), parentheses, sin cos tan, asin acos atan, sqrt, abs, log (natural log), exp, pi, e. Multiplication needs a star: write 2*x, not 2x. Your input is checked against a strict character whitelist and converted safely — no code you type is ever run as-is.

Tips

  • Compare x^2 with 2*x to see exactly where a curve and a line cross.
  • Zoom into the x-axis to read roots (where the curve crosses y = 0) more precisely.
  • Functions like tan(x) have gaps where they are undefined — the plotter breaks the line there instead of drawing a false vertical line.
  • Use parentheses to be explicit: sin(x)^2 means (sin x) squared, while sin(x^2) means sin of x squared.