[問題] N的指令打在Do迴圈內無產生效果
我有一個程式
x=1;
Do[
x = 1/3 * x ;
y = N[x,20] ;
Print[y];
,{i,1,20}];
結果還是產生程式內部預設的6有效位數
請問這要怎麼排除困難@@?
--
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.16.74
推
03/18 00:56, , 1F
03/18 00:56, 1F
→
03/18 00:57, , 2F
03/18 00:57, 2F
→
03/18 01:19, , 3F
03/18 01:19, 3F
→
03/18 01:19, , 4F
03/18 01:19, 4F
推
03/18 01:31, , 5F
03/18 01:31, 5F
→
03/18 01:31, , 6F
03/18 01:31, 6F
→
03/18 01:32, , 7F
03/18 01:32, 7F
→
03/18 01:33, , 8F
03/18 01:33, 8F
→
03/18 01:33, , 9F
03/18 01:33, 9F
→
03/18 01:36, , 10F
03/18 01:36, 10F
Mathematica 近期熱門文章
PTT數位生活區 即時熱門文章