photo

Mpho


Last seen: 11 mesi fa Attivo dal 2023

Followers: 0   Following: 0

Statistica

  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Domanda


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...

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


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"...

oltre un anno fa | 1 risposta | 0

1

risposta