Sunday, 5 July 2009

Boolean OR operation | Special Maths Addition

'
Boolean means 2-state operation.

OR means any one state that is valid will result in a positive outcome.

Example: When James or Mary come, the show will be start.

In maths, this translates to ADD, except only 2 states can occur (that is, on or off only).
1 = on, 0 = off (or vice versa).

What do I mean?

0 + 0 = 0
0 + 1 = 1
1 + 0 = 1
1 + 1 = 1

From the above addition, you will notice that as long as one state is ON, the result will be ON.
The operation is that of an "add".

Note: Since the operation is Boolean, it cannot go above 1 or 2 and above cannot exist. Only base 2 number (0, 1) can happen.

This field of maths is known as Boolean Algebra, a special maths operation used in digital electronics.

Caution:
If you are using this Boolean process, make it clear that the number base system is 2, otherwise 1 + 1 = 2!

1 + 1 = 2 in Boolean means that you go over the ceiling!

Another interesting maths concept, right?

Maths is interesting!

:D

No comments: