photo

Mpho


Last seen: 11 months ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


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 year ago | 1 answer | 0

1

answer

Question


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 year ago | 1 answer | 0

1

answer