Question: MATLAB: Write a program to calculate and display THE NUMBER OF TERMS required by the following sequence to just exceed the total value of sequence

MATLAB: Write a program to calculate and display THE NUMBER OF TERMS required by the following sequence to just exceed the total value of sequence to over x, which is given by the user.

sum= 1+ 22/1 + 33/2 + 44/3.....

sum values to test: 6, 500, 10

this code should find the number of values needed of the sequence to result in the sums given above. NOT the sum after adding 6, 500 and 10 values.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!