Plot mathematical functions like y = x^2, y = sin(x), or y = 2x + 3 with our graphing tool!
Graph a Function
========
========
Key Features:
Graph Mathematical Functions:
Users can input a function (e.g., y = x^2, y = sin(x), y = 2x + 3).
The graph is plotted dynamically using Chart.js and math.js.
Interactive Graph:
The graph is interactive, with tooltips showing the (x, y) coordinates of each point.
The x-axis and y-axis are labeled for clarity.
Responsive Design:
The page and graph adjust to different screen sizes using CSS media queries.
Works well on both desktop and mobile devices.
Error Handling:
Displays an alert if the user enters an invalid function.
Dynamic Updates:
The graph updates automatically when the user clicks the "Plot Graph" button.
Example Inputs:
y = x^2 (Quadratic function)
y = sin(x) (Sine function)
y = 2x + 3 (Linear function)
y = sqrt(x) (Square root function)
0 Comments