站 内 搜 索
推 荐 合 作 商
优 秀 内 容 推 荐
您当前位置:
中国素材首页
>>
网页特效
>>
数学类
>> 三角函数计算
三角函数计算
中国素材网 www.sucai.com 2005-3-31 13:01:00 流量数:
三角函数计算
[
查看演示
] 源码如下
----------------------------------------------------------------------------------------
<style>body,td,div,a,input{font:menu}</style>
<script language=javascript>
function cal() {
var tempStr;
tempStr="";
for(x=-10000000;x<0;x++) {
if(Math.sin(2*x/1000000)*Math.sin(2*x/1000000)*Math.sin(2*x/1000000)*4-3*Math.sin(2*x/1000000)+6*Math.sin(6*x/1000000)<0.0000001) {
tempStr+=x/1000000;
//alert();}
break;
}}
alert(tempStr)
}cal();
</script>
<h1>4(sin2x)^3-3(sin2x)=-sin6x</h1>
<div style="position: absolute; top: 10; right: 10; width: 148; height: 18;cursor:hand">
<input type="button" name="Button" value="查看源代码" onClick= 'window.location = "view-source:" + window.location.href'></div>