<!----Rectangle Area or Perimeter form-------> <A NAME="#rectap"></A>
<TABLE width=550 bgcolor="#ffffcc"><TR align=left valign=top>
<TD><DL><DT>3. The perimeter, P(L, W) = 2(L) + 2(W), or the
<DD>area, A(L, W) = (L)(W), of a rectangle.
<DD>  <FORM>
<DD><TABLE><TR><TD><IMG SRC="rect.gif"></TD>
<TD>Width:  <INPUT type=text value=0 name=second size=4></TD></TR><TR>
<TD>Lenght:  <INPUT type=text name=first value=0 size=4></TD><TD> </TD>
</TR></TABLE>
<DD>   <DD>
<INPUT type=button value="Area:"
onClick="this.form.result.value= (this.form.first.value) * (this.form.second.value)">  
<INPUT type=button value="Perimeter:"
onClick="this.form.result.value= 2 * (this.form.first.value) + 2 * (this.form.second.value)">
  is <INPUT type=TEXT value="0" name=result size=10>
</FORM></DL></TD></TR></TABLE><BR><!-- -----end area or perimeter form ------>
|