The algorithm
Download
1 / 10

The Algorithm - PowerPoint PPT Presentation


  • 195 Views
  • Updated On :

The Algorithm. Institute for Personal Robots in Education (IPRE) ‏. The Algorithm. “Algorithm: n. A finite set of unambiguous instructions performed in a prescribed sequence to achieve a goal” - The American Heritage Science Dictionary. The Algorithm.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'The Algorithm' - Ava


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
The algorithm l.jpg
The Algorithm

Institute for Personal Robots in Education

(IPRE)‏


The algorithm2 l.jpg
The Algorithm

“Algorithm:

n. A finite set of unambiguous instructions performed in a prescribed sequence to achieve a goal” - The American Heritage Science Dictionary


The algorithm3 l.jpg
The Algorithm

Al-Khwarizmi was a Persian mathematician who wrote a book on calculating with Hindu numerals in the 9th century A.D. When translated to Latin, a pluralized form of his name (algorismus) became synonymous with a system of calculation.


Pizza dough recipe algorithm l.jpg
Pizza Dough Recipe (Algorithm)

1. Gather Ingredients

2. Combine sugar (1tbs), salt (1tbs), olive oil (1tbs), flour (1c) in mixing bowl

3. Turn on mixer

4. Add 1/4 cup of flour

5. If dough comes off the sides go to step 6, otherwise go back to step 4

6. Knead 15 minutes

7. Let rest for at least 45 minutes in warm area

  • 1 dough ball


N pizza dough algorithm l.jpg
N-Pizza Dough Algorithm

  • Gather Ingredients

  • Combine sugar (N tbs), salt (N tbs), olive oil (N tbs), flour (N c) in mixing bowl

  • Turn on mixer

  • Add N/4 cup of flour

  • If dough comes off the sides go to step 6, otherwise go back to step 4

  • Knead 15 minutes

  • Let rest for at least 45 minutes in warm area

  • N dough balls


N pizza dough algorithm6 l.jpg
N-Pizza Dough Algorithm

  • Gather Ingredients

  • Combine sugar (N tbs), salt (N tbs), olive oil (N tbs), flour (N c) in mixing bowl

  • Turn on mixer

  • Add N/4 cup of flour

  • If dough comes off the sides go to step 6, otherwise go back to step 4

  • Knead 15 minutes

  • Let rest for at least 45 minutes in warm area

Sequence of

Statements

  • N dough balls


N pizza dough algorithm7 l.jpg
N-Pizza Dough Algorithm

  • Gather Ingredients

  • Combine sugar (N tbs), salt (N tbs), olive oil (N tbs), flour (N c) in mixing bowl

  • Turn on mixer

  • Add N/4 cup of flour

  • If dough comes off the sides go to step 6, otherwise go back to step 4

  • Knead 15 minutes

  • Let rest for at least 45 minutes in warm area

Variable

  • N dough balls


N pizza dough algorithm8 l.jpg
N-Pizza Dough - Algorithm

  • Gather Ingredients

  • Combine sugar (N tbs), salt (N tbs), olive oil (N tbs), flour (N c) in mixing bowl

  • Turn on mixer

  • Add N/4 cup of flour

  • If dough comes off the sides go to step 6, otherwise go back to step 4

  • Knead 15 minutes

  • Let rest for at least 45 minutes in warm area

Conditional


N pizza dough algorithm9 l.jpg
N-Pizza Dough - Algorithm

  • Gather Ingredients

  • Combine sugar (N tbs), salt (N tbs), olive oil (N tbs), flour (N c) in mixing bowl

  • Turn on mixer

  • Add N/4 cup of flour

  • If dough comes off the sides go to step 6, otherwise go back to step 4

  • Knead 15 minutes

  • Let rest for at least 45 minutes in warm area

Subroutines

Mini-algorithms

  • N dough balls


Programs algorithms at work l.jpg
Programs - Algorithms at Work

  • Programs are the way we communicate with a computer

  • Specify the algorithm

  • This class uses the Python programming language

  • Rather than pizza dough, we will use a robot as our favorite example


ad