photo

Mpho


Last seen: 7 meses hace Con actividad desde 2023

Followers: 0   Following: 0

Estadística

  • Thankful Level 1

Ver insignias

Feeds

Ver por

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta