Treszyk / Graphing-Calculator

A graphing calculator built with HTML, CSS, and JavaScript, utilizing the Canvas API for dynamic graph rendering and Math.js for robust equation evaluation.
https://treszyk.github.io/Graphing-Calculator/
MIT License
1 stars 0 forks source link

the program draws values outside of the function's domain #5

Open Treszyk opened 1 month ago

Treszyk commented 1 month ago

For example cos(sqrt(x)). Draws values on x<0 even tho the domain in the real number set is x>=0. It calculates imaginary values and tries to draw them on the graph.

Treszyk commented 1 month ago

and sometimes it doesn't draw on x<0 when it should for example cos(x^(1/3))