function evaluate ()
{



}

</SCRIPT>

</HEAD>


<BODY>

Enter a number, select one or more checkboxes, and
then click on "Evaluate".

<FORM NAME="numbers">

Number
<INPUT TYPE=text SIZE=5 NAME="x">

<P>

<INPUT TYPE=checkbox NAME="square"> Square
<INPUT TYPE=checkbox NAME="root"> Square Root

<P>

<INPUT
TYPE=button
VALUE="Evaluate"
ONCLICK="evaluate();">

<P>

<TEXTAREA ROWS=5 COLS=40 NAME="result">
</TEXTAREA>

</FORM>

</BODY>

</HTML>

I'm having problem writing the script for this so I can get a corect solution.
Any help or direction would be very helpful.