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
Get step-by-step solutions from verified subject matter experts
