{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# lab7 - COP 3502 Lab Notes More on Summations The last...

This preview shows pages 1–2. Sign up to view the full content.

COP 3502 – Lab Notes More on Summations The last couple of labs introduced you to the concept of order analysis and dealing with summations that arise from the analysis of the number of statements executed by an algorithm. This week we will look further at dealing with summations in which the starting index of the summation is a value other than 0 or 1. Summations where the index begins at a number greater than 1 We know how to solve summations where the index begins at 0 or 1. How do we handle summations where the index begins at a number greater than 1? We will look at two methods, one where we calculate the difference between two sums and one where we convert the sum we want to solve into a sum where the index starts at 0 or 1. Method I – subtract the difference between two summations We want to solve: = 10 4 i i which is equal to (4+5+6+7+8+9+10). But, this is equal to (1+2+3+4+5+6+7+8+9+10) – (1+2+3).

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern