👂 🎴 🕸️
<
p
class
='
fragment
'>
Question
of
the
day
:
<
strong
>
What
is
an
algorithm
?
strong
>
p
><
p
class
='
fragment
'>
You
already
use
the
word
casually
—
„
the
algorithm
“
recommends
your
videos
''
„
the
algorithm
“
decides
your
feed
.
But
what
''
precisely
''
is
one
?
p
><
p
class
='
fragment
'>
By
the
end
of
today
'
s
session
you
'
ll
have
a
real
definition
—
and
you
'
ll
know
where
the
word
itself
came
from
.
p
>
<
p
class
='
fragment
'><
strong
>
Turn
to
the
person
next
to
you
.
strong
>
Two
minutes
''
no
googling
.
p
><
p
class
='
fragment
'>
Together
''
try
to
answer
:
what
is
an
algorithm
?
Give
one
example
each
''
if
you
can
.
p
><
p
class
='
fragment
'>
Don
'
t
worry
about
being
„
right
“
—
we
'
ll
come
back
to
this
twice
more
today
''
and
compare
notes
.
p
>
<
p
class
='
fragment
'>
Before
the
word
''
there
were
the
machines
.
<
em
>
Crash
Course
Computer
Science
#
1
:
Early
Computing
em
>
—
from
the
abacus
to
Herman
Hollerith
'
s
punch
cards
.
p
>
<
p
class
='
fragment
'>
What
surprised
you
?
p
><
p
class
='
fragment
'>
Notice
how
many
of
these
—
the
abacus
''
Pascal
'
s
calculator
''
the
Jacquard
loom
''
Babbage
'
s
engines
—
are
not
computers
in
our
sense
at
all
.
They
'
re
physical
machines
for
carrying
out
a
fixed
''
repeatable
procedure
.
p
><
p
class
='
fragment
'>
That
procedure
''
independent
of
whatever
metal
or
wood
or
silicon
carries
it
out
''
is
the
thing
we
'
re
actually
interested
in
today
.
p
>
<
p
class
='
fragment
'>
Strip
away
the
brass
gears
''
the
steam
''
the
punch
cards
—
what
'
s
left
in
each
of
those
machines
is
the
same
abstract
thing
:
a
precise
''
repeatable
sequence
of
steps
that
turns
some
input
into
some
output
.
p
><
p
class
='
fragment
'>
That
sequence
of
steps
is
an
<
strong
>
algorithm
strong
>.
The
machine
is
just
one
possible
body
for
it
to
live
in
.
p
>
<
p
class
='
fragment
'>
An
<
strong
>
algorithm
strong
>
is
a
finite
''
well
-
defined
sequence
of
steps
that
transforms
a
given
input
into
a
desired
output
.
p
><
p
class
='
fragment
'><
strong
>
Finite
strong
>
—
it
has
to
actually
end
''
eventually
.
p
><
p
class
='
fragment
'><
strong
>
Well
-
defined
strong
>
—
each
step
is
unambiguous
;
anyone
''
or
anything
''
following
it
correctly
gets
the
same
result
.
p
><
p
class
='
fragment
'><
strong
>
Input
/
output
strong
>
—
it
does
something
to
something
.
p
>
<
p
class
='
fragment
'>
You
run
algorithms
all
the
time
without
a
computer
in
sight
.
p
><
p
class
='
fragment
'>
A
recipe
:
fixed
steps
''
specific
ingredients
(
input
)''
a
finished
dish
(
output
).
p
><
p
class
='
fragment
'>
Long
division
''
tying
your
shoelaces
''
the
instructions
for
assembling
furniture
—
all
algorithms
''
in
the
strict
sense
.
p
><
p
class
='
fragment
'>
Computers
didn
'
t
invent
algorithms
.
They
just
got
extremely
good
at
running
them
fast
.
p
>
<
p
class
='
fragment
'>
Euclid
described
an
algorithm
for
finding
the
greatest
common
divisor
of
two
numbers
around
300
BCE
—
still
taught
today
''
still
called
<
em
>
Euclid
'
s
algorithm
em
>.
p
><
p
class
='
fragment
'>
Long
division
as
you
learned
it
in
school
is
centuries
old
.
Knitting
patterns
are
algorithms
.
So
is
a
court
protocol
''
or
a
recipe
passed
down
for
generations
.
p
><
p
class
='
fragment
'>
The
concept
is
ancient
.
Only
the
name
is
comparatively
recent
—
and
it
has
a
surprisingly
specific
origin
.
p
>
<
p
class
='
fragment
'><
strong
>
Back
to
your
partner
.
strong
>
Compare
:
how
close
was
your
first
guess
to
the
definition
we
just
built
together
?
p
><
p
class
='
fragment
'>
This
time
''
try
to
name
an
algorithm
from
your
own
daily
life
that
has
nothing
to
do
with
computers
.
p
>
<
p
class
='
fragment
'>
„
Algorithm
“
doesn
'
t
come
from
Greek
''
like
most
technical
vocabulary
in
mathematics
.
It
comes
from
a
name
.
p
><
p
class
='
fragment
'>
Whose
?
p
>
<
p
class
='
fragment
'>
A
short
answer
''
in
under
three
minutes
—
<
em
>
BBC
Ideas
:
Why
algorithms
are
called
algorithms
em
>.
p
>
<
p
class
='
fragment
'>
Muhammad
ibn
Musa
<
strong
>
al
-
Khwarizmi
strong
>''
a
9th
-
century
Persian
scholar
working
in
Baghdad
'
s
House
of
Wisdom
''
wrote
a
treatise
on
systematic
methods
for
solving
equations
.
p
><
p
class
='
fragment
'>
His
name
''
Latinized
centuries
later
as
„
algorithmi
''
“
became
attached
to
the
step
-
by
-
step
methods
he
described
—
and
eventually
to
the
general
concept
itself
.
p
><
p
class
='
fragment
'>(
His
other
book
'
s
title
gave
us
a
second
word
:
<
em
>
al
-
jabr
em
>
—
„
algebra
.
“
)
p
>
<
p
class
='
fragment
'>
Rewind
two
centuries
.
Long
before
Babbage
''
long
before
steam
''
the
same
ancient
appetite
for
mechanizing
the
mind
was
already
stirring
—
in
the
Baroque
.
p
><
p
class
='
fragment
'>
In
1642
''
at
nineteen
''
<
strong
>
Blaise
Pascal
strong
>
built
the
<
em
>
Pascaline
em
>
to
help
his
father
with
tax
calculations
—
a
gear
-
driven
adding
machine
''
among
the
first
of
its
kind
ever
built
and
sold
.
p
><
p
class
='
fragment
'>
A
generation
later
''
<
strong
>
Gottfried
Wilhelm
Leibniz
strong
>
—
one
of
the
last
true
polymaths
''
equally
at
home
in
philosophy
''
law
''
and
mathematics
—
went
further
still
''
designing
the
<
em
>
Stepped
Reckoner
em
>:
a
machine
that
could
multiply
and
divide
''
not
merely
add
and
subtract
.
p
><
p
class
='
fragment
'>
Leibniz
wanted
more
than
a
calculator
.
He
dreamed
of
a
<
em
>
calculus
ratiocinator
em
>
—
a
universal
symbolic
method
by
which
any
dispute
''
of
any
kind
''
could
in
principle
be
settled
by
calculation
alone
:
<
em
>
„
Let
us
calculate
.
“
em
>
p
><
p
class
='
fragment
'>
Cogs
and
steam
would
eventually
belong
to
Babbage
'
s
century
.
But
the
dream
—
that
reasoning
itself
might
be
mechanized
—
is
''
properly
speaking
''
Baroque
.
p
>
<
p
class
='
fragment
'>
By
the
early
1800s
''
the
Industrial
Revolution
had
already
proven
something
remarkable
:
steam
and
gearwork
could
replace
human
muscle
at
scale
.
p
><
p
class
='
fragment
'>
Joseph
-
Marie
Jacquard
'
s
loom
(
1801
)
went
one
step
further
—
it
replaced
not
just
labor
''
but
a
kind
of
<
em
>
decision
-
making
em
>.
A
chain
of
punched
cards
''
read
mechanically
''
told
the
loom
exactly
which
threads
to
raise
for
every
single
pass
of
the
shuttle
.
p
><
p
class
='
fragment
'>
Change
the
cards
''
change
the
pattern
.
The
procedure
—
the
algorithm
—
was
now
separate
from
the
machine
that
executed
it
''
encoded
on
something
you
could
hold
in
your
hands
.
p
><
p
class
='
fragment
'>
Babbage
noticed
.
He
planned
to
use
these
very
same
punched
cards
to
feed
instructions
into
his
own
Analytical
Engine
.
p
>
<
p
class
='
fragment
'><
strong
>
Charles
Babbage
strong
>
(
1791
–
1871
)
—
mathematician
''
philosopher
''
mechanical
engineer
''
and
by
most
accounts
a
thoroughly
restless
Victorian
gentleman
.
p
><
p
class
='
fragment
'>
His
<
strong
>
Difference
Engine
strong
>
was
a
mechanical
calculator
''
designed
to
compute
polynomial
values
automatically
—
and
to
print
the
results
''
removing
human
error
from
mathematical
tables
.
p
><
p
class
='
fragment
'>
His
far
more
ambitious
<
strong
>
Analytical
Engine
strong
>
was
something
else
entirely
:
a
general
-
purpose
''
programmable
computer
—
a
century
before
electronics
made
one
practical
.
It
had
a
„
mill
“
(
processor
)''
a
„
store
“
(
memory
)''
and
was
to
be
fed
instructions
on
Jacquard
-
style
punched
cards
.
p
><
p
class
='
fragment
'>
He
never
finished
building
it
.
But
he
had
''
in
effect
''
designed
a
computer
.
p
>
<
p
class
='
fragment
'><
strong
>
Augusta
Ada
King
''
Countess
of
Lovelace
strong
>
(
1815
–
1852
)''
daughter
of
Lord
Byron
''
was
trained
rigorously
in
mathematics
from
childhood
—
and
became
Babbage
'
s
closest
intellectual
collaborator
.
p
><
p
class
='
fragment
'>
In
1843
''
translating
an
Italian
paper
on
the
Analytical
Engine
''
she
added
her
own
notes
—
three
times
longer
than
the
original
text
.
Among
them
:
a
step
-
by
-
step
method
for
the
Engine
to
compute
Bernoulli
numbers
.
p
><
p
class
='
fragment
'>
That
method
is
widely
considered
the
<
strong
>
first
published
algorithm
written
specifically
for
a
machine
strong
>
—
making
Lovelace
''
by
most
accounts
''
the
first
computer
programmer
''
over
a
century
before
there
was
a
computer
to
run
it
on
.
p
><
p
class
='
fragment
'>
She
also
saw
further
than
Babbage
himself
:
the
Engine
''
she
wrote
''
might
one
day
manipulate
not
just
numbers
''
but
music
and
symbols
of
any
kind
.
Others
called
her
<
em
>
the
Enchantress
of
Numbers
em
>.
p
>
<
p
class
='
fragment
'>
One
more
figure
worth
knowing
''
even
briefly
:
<
strong
>
George
Boole
strong
>
(
1815
–
1864
)''
who
in
1854
published
<
em
>
The
Laws
of
Thought
em
>
—
reducing
logical
reasoning
itself
to
a
kind
of
algebra
''
with
only
two
values
:
true
and
false
.
p
><
p
class
='
fragment
'><
strong
>
Boolean
algebra
strong
>
sat
unused
for
decades
as
a
philosophical
curiosity
.
In
the
20th
century
it
became
the
literal
switching
logic
inside
every
digital
circuit
ever
built
.
p
><
p
class
='
fragment
'>
Babbage
'
s
engine
''
Lovelace
'
s
program
''
Boole
'
s
logic
—
three
separate
threads
in
the
1800s
''
waiting
nearly
a
hundred
years
for
electronics
to
braid
them
together
.
We
'
ll
pick
that
thread
up
again
later
in
this
course
.
p
>
<
p
class
='
fragment
'>
Today
:
a
definition
''
a
history
''
a
name
.
p
><
p
class
='
fragment
'>
Next
week
:
<
strong
>
Alan
and
his
Enigma
strong
>
—
the
story
of
Alan
Turing
''
his
machine
(
s
)''
and
his
test
(
s
).
p
><
p
class
='
fragment
'>
We
'
ll
meet
the
Turing
machine
that
finally
gave
„
algorithm
“
a
single
''
rigorous
''
universal
meaning
—
and
ask
what
happens
when
the
body
running
one
never
gets
tired
''
never
gets
bored
''
and
never
stops
.
p
>
[Impressum, Datenschutz, Login] Other subprojects of udk.ai linkring: teacher.solar refused.science gardens.digital fibel.digital baumhaus.digital