photo

Mpho


Last seen: 7ヶ月 前 2023 年からアクティブ

Followers: 0   Following: 0

統計

  • Thankful Level 1

バッジを表示

Feeds

表示方法

質問


I am trying to get the answer for the sum to infinity for a geometric series. My output should be 3/2 and a loop should be used. I've done that but it won't work. Please help
Sequence = [1 1/3 1/9 1/27]; FirstTerm = Sequence(1); CommonRatio = Sequence(2)/Sequence(1); n = 0; if (Sequence(2)/Sequence...

1年以上 前 | 1 件の回答 | 0

1

回答

質問


How do I create an arithmetic sequence using the counter function, but only using basic mathematics operations (in this case, addition)
Sq = [2 4 6 8] N = 3 if (Sq(2) - Sq(1)) == (Sq(end)-Sq(end-1)) d = Sq(2) - Sq(1) disp("The sequence is arithmetic"...

1年以上 前 | 1 件の回答 | 0

1

回答