<html><head><title>JavaScript Math sin() 方法</title></head><body><scripttype="text/javascript">var value =Math.sin(0.5);
document.write("第一个测试值: "+ value );var value =Math.sin(90);
document.write("<br/>第二个测试值: "+ value );var value =Math.sin(1);
document.write("<br/>第三个测试值: "+ value );var value =Math.sin(Math.PI/2);
document.write("<br/>第四个测试值: "+ value );</script></body></html>