<head>
<title>簡易三角関数表</title>
<script type="text/javascript"><!--
function createTrigonometricTable(){
document.write('<table border="1">\n');
document.write('<caption>簡易三角関数表</caption>\n');
document.write('<col>\n<col>\n<col>\n<col style="width:5em;_width:auto;">\n');
document.write('<thead>\n');
document.write('<tr>');
document.write('<th>θ(°)</th>');
document.write('<th>sinθ</th>');
document.write('<th>cosθ</th>');
document.write('<th>tanθ</th>');
document.write('</tr>\n');
document.write('</thead>\n');
document.write('<tbody style="height:20em;_height:auto;overflow:auto;">\n');
for(i=0; i<90; i++){
var degree=Math.PI/180;
document.write('<tr>');
document.write('<td>'+i+'</td>');
document.write('<td>'+Math.round(10000*Math.sin(degree*i))/10000+'</td>');
<画像略>