[查看演示] 源码如下 ---------------------------------------------------------- <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> |