Question

In: Mechanical Engineering

Use a for loop to determine the sum of the rst 10 terms in the series 5k3, k % 1, 2, 3, . . . , 10.

Use a for loop to determine the sum of the rst 10 terms in the series 5k3, k % 1, 2, 3, . . . , 10.

Solutions

Expert Solution

Using loop:

function s=series()
%initialize sum is zero
sum=0;
% Create loop i until 10
for i=1:10
sum=sum+5*i^3; % Calculate sum of value
end % end of the for loop
s=sum; % assign resultant series to s
end % end the of the function

 

Output:

Answer =  15125


Output:

Answer =  15125

Related Solutions

It is desired to compute the sum of the first 10 terms of the series 14k3 = 20k2 + 5k, k = 1, 2, 3, …
It is desired to compute the sum of the first 10 terms of the series14k3 = 20k2 + 5k, k = 1, 2, 3, … a. Develop a pseudocode description of the required program.b. Write and run the program described in part a.
Consider the series X∞ k=3 √ k/ (k − 1)^3/2 . (a) Determine whether or not...
Consider the series X∞ k=3 √ k/ (k − 1)^3/2 . (a) Determine whether or not the series converges or diverges. Show all your work! (b) Essay part. Which tests can be applied to determine the convergence or divergence of the above series. For each test explain in your own words why and how it can be applied, or why it cannot be applied. (i) (2 points) Divergence Test (ii) Limit Comparison test to X∞ k=2 1/k . (iii) Direct...
Write a complete program to sum the following series: (hint: use the for loop) 1 /2...
Write a complete program to sum the following series: (hint: use the for loop) 1 /2 + 1/ 4 + 1 /6 + ⋯ + 1 /100 PS: use C++ language please
Use the formula for the sum of the first n terms of a geometric series to find S9 for the series 12, 6, 3, 3/2 , …
Use the formula for the sum of the first n terms of a geometric series to find S9 for the series 12, 6, 3, 3/2 , …  
Consider the series X∞ k=2 2k/ (k − 1)! . (a) Determine whether or not the...
Consider the series X∞ k=2 2k/ (k − 1)! . (a) Determine whether or not the series converges or diverges. Show all your work! (b) Essay part. Which tests can be applied to determine the convergence or divergence of the above series. For each test explain in your own words why and how it can be applied, or why it cannot be applied. (i) Divergence Test (ii) Direct Comparison test to X∞ k=2 2k /(k − 1). (iii) Ratio Test
Determine the sum of the series ∑n=1∞ ( 6n)/(n+2) if possible. (If the series diverges, enter...
Determine the sum of the series ∑n=1∞ ( 6n)/(n+2) if possible. (If the series diverges, enter 'infinity', '-infinity' or 'dne' as appropriate.)
Use the formula for the sum of the first n terms of an arithmetic series to find the sum of the first eleven terms of the arithmetic series 2.5, 4, 5.5, … .
Use the formula for the sum of the first n terms of an arithmetic series to find the sum of the first eleven terms of the arithmetic series 2.5, 4, 5.5, … .
-Write a program in C++: • to find the sum of the series 1! /1+2! /2+3!...
-Write a program in C++: • to find the sum of the series 1! /1+2! /2+3! /3+4! /4+5! /5 using the function1, • to convert decimal number to binary number using the function2, • to check whether a number is a prime number or not using the function3, • to check whether two given strings are an anagram using the function4. important must do in (Multi-Filing) of c++
If the sum of first 6 terms is 9 times to the sum of first 3 terms of the same G.P., then common ratio of the series will be
If the sum of first 6 terms is 9 times to the sum of first 3 terms of the same G.P., then common ratio of the series will be
1. Given the series: ∞∑k=1 2/k(k+2) does this series converge or diverge? converges diverges If the...
1. Given the series: ∞∑k=1 2/k(k+2) does this series converge or diverge? converges diverges If the series converges, find the sum of the series: ∞∑k=1 2/k(k+2)= 2. Given the series: 1+1/4+1/16+1/64+⋯ does this series converge or diverge? diverges converges If the series converges, find the sum of the series: 1+1/4+1/16+1/64+⋯=
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT