Professional Documents
Culture Documents
Textbooks
Forum Diskusi
Group FB: http://facebook.com/groups/intelligentsystems
/
Course Outline
1. Introduction
2. Math Fundamental 1: Set, Sequence,
Function
3. Math Fundamental 2: Graph, String,
Logic
4. Finite Automata
5. Pushdown Automata
6. Turing Machine
7
1. Introduction
1.1 Observation, Law and Theory
1.2 What is Theory of Computation?
Computation is what
Computers do, who needs
theory?
10
Charles Babbages
Difference Engine (1822)
Hero of
Alexandrias
aeolipile steam
engine
12
14
Carnots Answer
Efficiency of an
ideal engine
depends only on the
temperature
difference between
the reservoirs
15
Carnots Answer
Hukum kedua termodinamika mengatakan b
ahwa aliran kalor memiliki arah
Dengan kata lain, tidak semua proses di ala
m semesta adalah reversible (dapat dibalikka
n arahnya)
Sebagai contoh jika seekor beruang kutub te
rtidur di atas salju, maka salju dibawah tubu
h nya akan mencair karena kalor dari tubuh
beruang tersebut
Akan tetapi beruang tersebut tidak dapat menga
mbil kalor dari salju tersebut untuk menghangatk
an tubuhnya
16
17
Theory
Drives
Practice
Drives
Theory
18
20
Scientific Theory
Exercise
Download dan pahami buku (Endre
s & Rombach, 2003) di http://romisatri
awahono.net/lecture/tc/reference/
Tugas
Tentukan dua hukum (LAW) dari no urut
No urut 1, ambil L1, L14 dan L27
No urut 2, ambil L2, L15 dan L28
LAW
APPLICATION
EVIDENCE
THEORY
Key Questions
1. Is the potential work available from
a heat source potentially
unbounded?"
2. Can heat engines be improved by
replacing the steam with some
Carnots
questions
about
heat
other fluid or gas?
engines
What is a computer?
Theoretical
version: (P =
NP) posed by
Stephen Cook in
1971
Pragmatic
Open problem
version: do all
computers in our
universe have
these
limitations?
Open problem
29
Complexity Theory
Computationally Hard
Problems
Computationally Easy
Problems
33
1. Automata Theory
Automata theory deals with the definiti
ons and properties of mathematical mo
dels of computation
These models play a role in several app
lied areas of computer science:
Finite automaton: used in text processing,
compilers, and hardware design
Context-free grammar: used in programmi
ng languages and artificial intelligence
34
Models of Computation
Machine-like
Language-like
Finite Automata
Regular Expressions
Context-free
Pushdown Automata
Grammar
Unrestricted
Grammar, Lambda
Calculus
Turing machine
35
2. Computability Theory
Mathematicians discovered that certain basic
problems cannot be solved by computers
Example: the problem of determining whether a m
athematical statement is true or false
3. Complexity Theory
What makes some problems computationally hard and
others easy?
You have several options when you confront a problem
that appears to be computationally hard:
1. By understanding which aspect of the problem is at the root
of the difficulty, so that the problem is more easily solvable
2. Be able to settle for less than a perfect solution to the probl
em. In certain cases, finding solutions that only approximate
the perfect one is relatively easy
3. Some problems are hard only in the worst case situation, bu
t easy most of the time
4. You may consider alternative types of computation, such as
randomized computation, that can speed up certain tasks
Referensi
1. Michael Sipser, Introduction to the Theory of Com
putation Third Edition, Cengage Learning, 2012
2. George Tourlakis, Theory of Computation, Wiley, 2
012
3. John Martin, Introduction to Languages and the Th
eory of Computation, McGraw-Hill , 2010
4. Robert Sedgewick and Kevin Wayne, Introduction t
o Computer Science, Addison-Wesley, 2015 (http:
//introcs.cs.princeton.edu/java)
5. Albert Endres dan Dieter Rombach, A Handbook of
Software and Systems Engineering, Pearson Educa
tion Limited, 2003
38