Definitions of Algorithmic Terms And Formulas - PowerPoint PPT Presentation

1 / 11
About This Presentation
Title:

Definitions of Algorithmic Terms And Formulas

Description:

Definitions of Algorithmic Terms And Formulas (Hopefully) Sigma. for (j=2; j ; j n) ... j increases by 1 each iteration. Limit at n. Add to the total each ... – PowerPoint PPT presentation

Number of Views:11
Avg rating:3.0/5.0
Slides: 12
Provided by: michae419
Category:

less

Transcript and Presenter's Notes

Title: Definitions of Algorithmic Terms And Formulas


1
(No Transcript)
2
Definitions of Algorithmic Terms And Formulas
(Hopefully)
3
Sigma
4
Programming Example
Mathematical Example
Definition
Loop
Starting value for j
for (j2 j jltn) xjx
j increases by 1 each iteration
Limit at n
Add to the total each iteration
Final Sum
5
Now we will swap normal j here
For aj
6
Now we will swap normal j here
For aj
7
Programming Example
Mathematical Example
Definition
for (j2 j jltn) a2j xax
8
(No Transcript)
9
Mathematical definition
10
This is the number of inputs.
This simply creates a relationship between g, f,
n, c1, and c2.
These two functions create the appropriate time
relationship between the number of inputs and the
final running time. The two can, but do not have
to be different yet they must include all the
information about the computer the algorithm is
running on and the time per calculations.
11
creates the relationship listed here so that
the g(n)
Write a Comment
User Comments (0)
About PowerShow.com