topical media & game development
lib-js-math-calculator-triangle.htm / htm
<head>
<script type="text/javascript" src="lib-js-math-calculator-triangle.js"></script>
</head>
<body>
<table border="0" cellpadding="4" cellspacing="0" bgcolor="#cccccc">
<form name="prop">
<tr>
<td colspan="4" style="color: #fff; background: #000080;">
<b>Geometric Properties of a Triangle</b></font>
</td>
</tr><tr>
<td>
<b>Side A: </b>
</td>
<td>
<input type="text" size="4" name="A" style="font-size: 9pt">
</td>
<td>
<b>Area of Triangle: </b>
</td>
<td>
<input type="text" size="8" name="area" disabled="disabled" style="color: #000; background: #fff; font-size: 9pt; text-align: right;">
</td>
</tr>
<tr>
<td>
<b>Side B: </b>
</td>
<td>
<input type="text" size="4" name="B" style="font-size: 9pt">
</td>
<td>
<b>Area of Largest Inscribed Circle: </b>
</td>
<td>
<input type="text" size="8" name="lic" disabled="disabled" style="color: #000; background: #fff; font-size: 9pt; text-align: right;">
</td>
</tr>
<tr>
<td>
<b>Side C: </b>
</td>
<td>
<input type="text" size="4" name="C" style="font-size: 9pt">
</td>
<td>
<b>Area of Smallest Inscribed Circle: </b>
</td>
<td>
<input type="text" size="8" name="sic" disabled="disabled" style="color: #000; background: #fff; font-size: 9pt; text-align: right;">
</td>
</tr>
<tr>
<td>
<input type="reset" value="Reset" style="font-size: 9pt" onClick="reset()">
</td>
<td>
<input type="button" value="Compute" style="font-size: 9pt" onClick="getProp()">
</td>
<td>
<b>Angle between A and B: </b>
</td>
<td>
<input type="text" size="8" name="ang" disabled="disabled" style="color: #000; background: #fff; font-size: 9pt; text-align: right;">
</td>
</tr>
</form>
</table>
</body>
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.