Re: [問題] 這種算式metlab能算嗎?已回收
※ 引述《sale58 (便宜大碗)》之銘言:
: f(x) = 4*(1 - 1/3 + 1/5 - 1/7 + 1/9 - 1/11 + ...)
: 無限級數有辦法算出收斂值嗎?謝謝
f(1)=4*(1);
f(2)=4*(1-1/3);
f(3)=4*(1-1/3+1/5);
f(4)=4*(1-1/3+1/5-1/7);
f(5)=4*(1-1/3+1/5-1/7+1/9);
f(6)=4*(1-1/3+1/5-1/7+1/9-1/11);
plot( [ 1 : 6 ] , f )
看看畫出來的圖案有沒有像收斂的樣子
如果看起來不像有收斂的話請再多做幾項
還有請找出一般式放入迴圈裡跑
請不要真的這樣一行一行打
--
Deserves death! I daresay he does. Many that live deserve death. And some die
that deserve life. Can you give that to them? Then be not too eager to deal out
death in the name of justice, fearing for your own safty. Even the wise cannot
see all ends.
Gandalf to Frodo
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.120.25.235
※ 編輯: Gwaewluin 來自: 140.120.25.235 (10/09 12:24)
推
10/09 13:20, , 1F
10/09 13:20, 1F
推
10/09 13:50, , 2F
10/09 13:50, 2F
→
10/09 14:16, , 3F
10/09 14:16, 3F
推
10/10 00:33, , 4F
10/10 00:33, 4F
推
10/10 08:51, , 5F
10/10 08:51, 5F
→
10/10 16:25, , 6F
10/10 16:25, 6F
→
10/10 16:26, , 7F
10/10 16:26, 7F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 6 篇):
MATLAB 近期熱門文章
PTT數位生活區 即時熱門文章