# record 1: header: parent, keywords
# record 2: calling parameters
# record 3: submit buttons
# record 4: html form content

:pre-calculus, precalculus, function, plot, curve, geometry,
function plot, plot a function, curve of function, function curve,
explicit curve, 2D curve, curve 2D, graph, graphing
sin, cos, log, exp

:module, tool/geometry/animtrace.en
cmd, new
size, 650x480
type, explicit2D
coord, cartesian
set_border, 1
set_zeroaxis, 1
set_grid, 0
set_tics, 1
set_transparent, 0
xsize, 300
ysize, 270

:, Plot the Function

:<TD VALIGN=TOP ALIGN=LEFT>
 $submit1
 <TD NOWRAP style="text-align:center;">y = 
 <INPUT NAME="y1" TYPE="text" SIZE=45 VALUE="sin(x) + cos(2x)">
 <TR><TD COLSPAN=2 NOWRAP>
 Plot range: x from
 <INPUT SIZE=6 NAME=xleft VALUE=-10> to
 <INPUT SIZE=6 NAME=xright VALUE=10> ,
 &nbsp; y from
 <INPUT SIZE=6 NAME=yleft> to
 <INPUT SIZE=6 NAME=yright> .

