Professional Documents
Culture Documents
Andhra Pradesh
Name : K.Radhika
Designation : Lecturer in EC.
Branch : Electronics& Commn Engg
Institute : Govt Polytechnic Masabtank
Hyderabad.
Year/Semester : III Semester
Subject : Digital Electronics
Subject code : EC -304
Topic : Basics of Digital electronics
Sub Topic : Writing expressions, Demorgan’s laws
Duration : 50 Min
Teaching Aids used : PowerEC304.9
point, animations 1
Objectives
EC304.9 2
Realization of the problem statement
EC304.9 3
Realization of problem statement with gates
Example
EC304.9 4
Solution
• Y = eligibility to appear (1-eligible, 0-not eligible)
• A = Attendance (1- has required attendance, 0 - doesn’t have)
• B = Fee (1- Paid exam fee without fine within last date, 0 - not paid)
• C = Fine (1- paid fine within last date with fine, 0 - has not paid fine)
then we can write the expression as
EC304.9 5
Implement the function using basic gates
Ex2: Realise the following expression using gates?
Y = A B+ A B
A
B
Y = A B+ A B
A
B
EC304.9 6
Demorgan’s First law
Statement :
A+ B= A.B
EC304.9 7
Proof of first law
A+ B= A.B
A B Ā B A+B A.B
0 0 1 1 1 1
0 1 1 0 0 0
1 0 0 1 0 0
1 1 0 0 0 0
EC304.9 8
Demorgan’s First law:
=
B
A
=
B
EC304.9 9
Venn diagram of first law
A ∪B = A ∩B
EC304.9 10
Visual DeMorgan
A: B:
A∪B : A∪ B :
EC304.9 11
A: B:
B:
A:
A∩ B :
EC304.9 12
Visual DeMorgan
A∪ B =
A∩ B =
EC304.9 13
Demorgan’s Second law
Statement :
A.B= A + B
EC304.9 14
Proof of Demorgan’ law
A.B= A + B
A B Ā B
0 0 1 1 1 1
0 1 1 0 1 1
1 0 0 1 1 1
1 1 0 0 0 0
EC304.9 15
Demorgan’s second law
=
B
= B
EC304.9 16
Summary
We discussed about
• Demorgan’s laws
EC304.9 17
QUIZ
EC304.9 18
1. According to Demorgan’s first theorem
EC304.9 19
2. According to Demorgan’s second theorem
EC304.9 20
3.For this circuit the output equation is
A
B
Y
C
D
• Y = A+ BCD
• Y = AB + CD
• Y = ABC + D
• None above
EC304.9 21
Frequently asked questions
EC304.9 22
Assignment
EC304.9 23
Draw the logic circuit of the below functions
using gates?
F1 = A + AD
F2 = A B + CD
F3 = (X +Y).Z
F4 = (A' + B).(C + D)
EC304.9 24