var tips = new Array();

tips[0]="Use parenthesis liberally in Maple. Sometimes its order of operations is different from what we consider normal.";
tips[1]="Make sure that your sines and cosines are correct! We usually write sin<sup>2</sup>x, but Maple requires that you type sin(x)^2!";
tips[2]="If you'd like to see if two things are equal, you can use evalb(). <span class=MapleCode>evalb(a=b);</span> returns true if a = b or false if a doesn't equal b.";
tips[3]="You can evaluate an equation at a given value without assigning it to a function. Use the form <span class=MapleCode>(x->x^2)(4)</span>. This example will evaluate x^2 at 4 without creating a variable.";
tips[4]="If you have an expression that is the result of a previous computation, you can turn it into a function. Use the unapply() command. The syntax is <span class=MapleCode>unapply(fn,x)</span> where fn is the expression, and x is the argument of the function.";
tips[5]="If you type a command and forget to put the line delimiter, Maple puts you on the next input block and gives you an error message. If you type a semicolon and hit Return, Maple will \"associate\" the line delimiter with the previous command.";
tips[6]="When viewing a help file, you cannot change the examples to experiment. However, you can copy all the examples to the Windows clipboard by clicking on <b>Edit</b> and then <b>Copy Examples</b>. This is a quick way to paste examples into your worksheet so that you can try them out or change them to suit your needs. - <i>submitted by Dr. C. Stallmann</i>";

function doTip(rnd)
{
	if (rnd==-1)
		rnd = Math.floor(Math.random() * tips.length);
	document.write(tips[rnd]);
}


