6 Direct plot using canvas, menu to select function, using slider to read x range, slider to change sampling

Clicking on HTML runs the code. The source code is

]]>