Traditional Culture Encyclopedia - Traditional virtues - How to calculate the logical expression of this logical variable?
How to calculate the logical expression of this logical variable?
X+X′Y; (X stands for: the negation of X)
= X * 1+X′Y; (anti-identity; * stands for: and operator)
= X *(Y+Y′)+X′Y; (law of excluded middle inversion)
=(XY+XY’)+X’Y; (distribution law)-If you are familiar with it, the first three steps can be achieved in one step; At this time, we should see that it is equal to (x+y)-they are all equal to:1-x' y';
=(XY+XY′)+(XY+X′Y); (Inverse idempotent law, commutative law, associative law)
= X+Y; (Anti-distribution Law, law of excluded middle, Invariance Law)
The third method: If you are familiar with the relationship between the value of a logical expression and the true value of a logical proposition (or the on-off of a logical circuit), you can do this:
X+X'Y: indicates that X is true, and there is no requirement for Y at this time (that is, Y is true or false); Or x is false, in which case y must be true; In short: at least one of X and Y is true (that is, both are allowed to be true).
Obviously, this is the definition of OR operation; That is equivalent to x+y.
- Previous article:What's the difference between intercity railway and bullet train?
- Next article:How to make money in business?
- Related articles
- What does marketing management include?
- Correct posture course
- Is "coal to electricity" heating reliable?
- Why did many emperors of the Ming Dynasty not pass it on to their eldest son?
- Kindergarten outdoor activities game name
- Zhouning Puyuan Opera
- Inheriting traditional culture and modernization, it is best to write an original paper of about 3000 words. Thank you very much
- How much is a bowl in Wonton Noodles?
- Poems about Pagodas
- An old man in Lianyungang fried the kitchen with a pressure cooker. What are the safety hazards of pressure cookers?