f(x) =
This page demonstrates the use of JavaScript and DHTML to produce graphs of functions. Enter minimum and maximum values for x and y along the bottom and right side of the box. Enter a function in terms of x in the lower field. Then, hit the Replot! button. If you make a mistake in entering a formula, use the Refresh feature of your browser.

Functions available in JavaScript are abs(x), acos(x), asin(x), atan(x), ceil(x), cos(x), exp(x), floor(x), log(x), max(x,n), min(x,n), pow(x,n), random(), round(x), sin(x), sqrt(x) and tan(x).

For another way to do graphing using JavaScript, see Kurt Moerman's excellent page.


Other pages by the author. Email.
Debut: December 26, 2003. Revision No. 4. January 20, 2007.
Visitors: