Notation:
π ! πi = π$ + π2 + π& + β― + ππ
i#$
∑ is a Greek letter sigma, this is an instruction to find the sum.
i is the index of the sum, it tells where to start the sum and where to end it.
Example:
π1 = 1, π2 = 3, π3 = 5, π4 = 7, π5 = 9, π6 = 0, π7 = 2, π8 = 4, π9 = 6
π=1
π₯π is to add the terms π₯π, starting with i = 1, and ending with i = 5.
! ππ = π1 + π2 + π3 + π4 + π5 = 1 + 3 + 5 + 7 + 9 =
π=1 4
! ππ =
π=3
Example: (Computer the following)
i#$
π = 1 + 2 + 3 + 4 + 5 =
i#$
π2 = 12 + 22 + 32 + 42 + 52 =
(i#$4π =
In many statistics books, the index is often omitted.
∑ π₯ : sum of all x values.
Example: Given a data set:
3, 2, 5, 9, 11
a. Find ∑ π₯
! π₯ = 3 + 2 + 5 + 9 + 11 =
b. Find ∑ π₯2
c. Find ∑ π₯/5 =
d. Find ∑(π₯ − 6)2
Exercises:
Answer the following question using the given data
12 10 9 7 13 18 14 11 9 7
1. Find ∑ π₯
2. Find ∑ π₯2
3. Find (∑ π₯)2
4. Find ∑(π₯ − 11)2
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme