Current location - Training Enrollment Network - Mathematics courses - Boolean Operation in Human Terminology —— Notes on Mathematical Beauty
Boolean Operation in Human Terminology —— Notes on Mathematical Beauty
Boolean operation is a subject that breaks the dividing line between logic and mathematics.

To describe Boolean operations in more detail, 1 can also be called (true), and 0 is called (false, false). And (and), Or (or), Not (not).

If there are two basic judgments: 1. "The sun rises in the west", which is definitely false (0). 2. "Water can flow" is definitely true (1).

So, is it true or false that "the sun rises in the west" and "water can carry a boat and also overturn it"? * (Our intuitive judgment can lead to a conclusion) *

Of course it's fake. This is the operation of 0 and 1 =0. As long as there is 0 in the and operation, the result must be 0.

Then put it another way: "The sun rises in the west" or "Water can flow". Is this true or not? It's true.

This is the operation of 0 or 1 = 1. In the or operation, as long as there is 1, the result must be 1.

Let's put it another way: "The sun rises in the west". Is this true or not? Really!

This is an operation that is not 0 = 1

Maybe you will ask, what's the use of such a simple rule?

~

Do you think Boolean operation is useful?

Do you know that?/You know what? Do you know that?/You know what? The most basic technology behind our Baidu search is the application of Boolean operation.

For example, you want to search a web page about the application of atomic energy. Baidu will give you a series of related results immediately. How did it do it?

If this is a bit difficult to understand, I will give you another simple example-the story of choosing a girlfriend.

Yue Lao looked at it. Six girls first marked white skin as 1 and non-white skin as 0, and the result was 100 1 10.

Mark the hair length, and the result is 1000 1. Then, calculate100110001=100000. In other words, only standing in the first place. Then Yue Lao said, Look, the first girl is what you want. Let's go

Then, the dog egg ran happily to the girl, and it was what she wanted. At this time, the girl said, "I'm sorry, dog egg, I deeply admire a person. His name is Bobo." .......