level 1
ohohyeah
楼主
上面的写得不够清楚,也有个地方错了,以下为准
无标题文档
table{line-height:30px; }td{font-size:12px;}
Function calculate()Dim nn,tem1,ResJC,temp2,inn = 0 '分母tem1 = 1 '结果之和ResJC =1 '分母阶乘temp2=1 '分子除以分母 While tem1 >0.00001 nn = nn + 1for i=1 to nn '求分母的阶乘ResJC = ResJC *inexttemp2 = temp2 / ResJC tem1=tem1+ temp2 WendEnd Function
点击下方按钮查看自然数e(精确到10的负4次方)的值
2006年05月15日 03点05分
1
无标题文档
table{line-height:30px; }td{font-size:12px;}
Function calculate()Dim nn,tem1,ResJC,temp2,inn = 0 '分母tem1 = 1 '结果之和ResJC =1 '分母阶乘temp2=1 '分子除以分母 While tem1 >0.00001 nn = nn + 1for i=1 to nn '求分母的阶乘ResJC = ResJC *inexttemp2 = temp2 / ResJC tem1=tem1+ temp2 WendEnd Function
点击下方按钮查看自然数e(精确到10的负4次方)的值