Question: can you please help me solve this ? Notes: This is an individual work, no group work is allowed. Your work should be presented by

can you please help me solve this ?
Notes: This is an individual work, no group work is allowed. Your work should be presented by email in a report format including a cover page having the student name, ID, major, title, instructor name and due date. The report should include all the MATLAB code and outputs of each section The MATLAB code should be well commented and written in only one M-file. Separation between sections should be clear in the M-File. This project accounts for 10% of your grade. PROBLEM 1: Consider the series given by: s(n) = n2 + 2n-1 Write a MATLAB script that will perform the following tasks: 1) Compute the first 100 terms of the series s(n) and store them in a vector seriesterms. 2) In the vector seriesTerms, determine the indices of the terms that are even and store these indices in a vector called evenIndices. (Hint: use the find command.) 3) Now, create a vector called evenTerms that will hold only the even terms of s(n). (Hint the indices of the even terms are now stored in the vector evenIndices.) 4) Plot the values of the even terms versus their corresponding values of n. 5) Determine the number of terms needed to cause the summation of terms ofs(n) to become equal or larger to 1,000,000 Print to the screen two messages showing the summation value and the number of terms that caused this summation to have this value
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
