mauriciopoppe / function-plot

A 2d function plotter for the web
https://mauriciopoppe.github.io/function-plot/
MIT License
914 stars 112 forks source link

error painting of (6x ^ 5 - 15x ^ 4 + 10x ^ 3) ? #263

Open eczn opened 6 months ago

eczn commented 6 months ago
image
mauriciopoppe commented 6 months ago

This is a consequence of carrying errors using interval arithmetic which is the default evaluator, please check https://github.com/mauriciopoppe/function-plot/issues/177#issuecomment-1002866152 for more info.

You can use the following to use the builtIn evaluator

data: [
    {
        fn: '6x ^ 5 - 15x ^ 4 + 10x ^ 3',
        graphType: 'polyline'
    }
]
stale[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.