Question: (a) Create the following arithmetic series using the linspace command: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19. Then show that the sum

(a) Create the following arithmetic series using the linspace command: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19. Then show that the sum of this series is given by n/2[2a + (n-1) d] where 'n' is the number of terms, 'a' is the first term, and is the linear spacing between consecutive terms in the series, (b) Show that summation of a geometric series (a, ar, ar^2, ar^3 ..ar^n-1...) converges to al(1-r) as 'n' tends to infinity where 'a' is the first term and |r|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
