المرجع الالكتروني للمعلوماتية
المرجع الألكتروني للمعلوماتية

الرياضيات
عدد المواضيع في هذا القسم 9761 موضوعاً
تاريخ الرياضيات
الرياضيات المتقطعة
الجبر
الهندسة
المعادلات التفاضلية و التكاملية
التحليل
علماء الرياضيات

Untitled Document
أبحث عن شيء أخر المرجع الالكتروني للمعلوماتية


XOR  
  
1416   02:21 صباحاً   date: 4-1-2022
Author : Rangel-Mondragon, J.
Book or Source : "A Catalog of Cellular Automata." http://library.wolfram.com/infocenter/MathSource/505/.
Page and Part : ...

XOR

XORGate

A connective in logic known as the "exclusive or," or exclusive disjunction. It yields true if exactly one (but not both) of two conditions is true. The XOR operation does not have a standard symbol, but is sometimes denoted A xor B (this work) or A direct sum B (Simpson 1987, pp. 539 and 550-554). A xor B is read "A aut B," where "aut" is Latin for "or, but not both." The circuit diagram symbol for an XOR gate is illustrated above. In set theory, A xor B is typically called the symmetric difference. The XOR function is implemented as Xor[predicate1predicate2, ...].

The binary XOR operation A xor B is identical to nonequivalence A≢BA xor B can be implemented using AND and OR gates as

A xor B = (A ^ !B) v (!A ^ B)

(1)

= (A v B) ^ (!A v !B),

(2)

where  ^  denotes AND and  v  denotes OR, and can be implemented using only NOT and NAND gates as

 A xor B=(A nand !B) nand (!A nand B)

(3)

(Simpson 1987), where  nand  denotes NAND.

The binary XOR operator has the following truth table.

A B A xor B
T T F
T F T
F T T
F F F

The binomial coefficient (m; n) mod 2 can be computed using the XOR operation n XOR m, making Pascal's triangle mod 2 very easy to construct.

For multiple arguments, XOR is defined to be true if an odd number of its arguments are true, and false otherwise. This definition is quite common in computer science, where XOR is usually thought of as addition modulo 2. In this context, it arises in polynomial algebra modulo 2, arithmetic circuits with a full adder, and in parity generating or checking. While this means that the multiargument "XOR" can no longer be thought of as "the exclusive OR" operation, this form is rarely used in mathematical logic and so does not cause very much confusion. The XOR operation is associative, so a xor (b xor c) is the same as (a xor b) xor c. Computation of the multiargument XOR requires evaluation of all its arguments to determine the truth value, and hence there is no "lazy" special evaluation form (as there is for AND and OR).

The ternary XOR operator therefore has the following truth table.

A B C A xor B xor C
T T T T
T T F F
T F T F
T F F T
F T T F
F T F T
F F T T
F F F F

BitXor

A bitwise version of XOR can also be defined that performs a bitwise XOR on the binary digits of two numbers x and y and then converts the resulting binary number back to decimal. Bitwise XOR is implemented in the Wolfram Language as BitXor[n1, n2, ...]. The illustration above plots the bitwise XOR of the array of numbers from -31 to 31 (Stewart 2000; Rangel-Mondragon; Wolfram 2002, p. 871).


REFERENCES:

 Rangel-Mondragon, J. "A Catalog of Cellular Automata." http://library.wolfram.com/infocenter/MathSource/505/.

Simpson, R. E. "The Exclusive OR (XOR) Gate." §12.5.6 in Introductory Electronics for Scientists and Engineers, 2nd ed. Boston, MA: Allyn and Bacon, pp. 550-554, 1987.

Stewart, I. "A Fractal Guide to Tic-Tac-Toe." Sci. Amer. 283, 86-88, 2000.

Wolfram, S. A New Kind of Science. Champaign, IL: Wolfram Media, p. 871, 2002.




الجبر أحد الفروع الرئيسية في الرياضيات، حيث إن التمكن من الرياضيات يعتمد على الفهم السليم للجبر. ويستخدم المهندسون والعلماء الجبر يومياً، وتعول المشاريع التجارية والصناعية على الجبر لحل الكثير من المعضلات التي تتعرض لها. ونظراً لأهمية الجبر في الحياة العصرية فإنه يدرّس في المدارس والجامعات في جميع أنحاء العالم. ويُعجب الكثير من الدارسين للجبر بقدرته وفائدته الكبيرتين، إذ باستخدام الجبر يمكن للمرء أن يحل كثيرًا من المسائل التي يتعذر حلها باستخدام الحساب فقط.وجاء اسمه من كتاب عالم الرياضيات والفلك والرحالة محمد بن موسى الخورازمي.


يعتبر علم المثلثات Trigonometry علماً عربياً ، فرياضيو العرب فضلوا علم المثلثات عن علم الفلك كأنهما علمين متداخلين ، ونظموه تنظيماً فيه لكثير من الدقة ، وقد كان اليونان يستعملون وتر CORDE ضعف القوسي قياس الزوايا ، فاستعاض رياضيو العرب عن الوتر بالجيب SINUS فأنت هذه الاستعاضة إلى تسهيل كثير من الاعمال الرياضية.

تعتبر المعادلات التفاضلية خير وسيلة لوصف معظم المـسائل الهندسـية والرياضـية والعلمية على حد سواء، إذ يتضح ذلك جليا في وصف عمليات انتقال الحرارة، جريان الموائـع، الحركة الموجية، الدوائر الإلكترونية فضلاً عن استخدامها في مسائل الهياكل الإنشائية والوصف الرياضي للتفاعلات الكيميائية.
ففي في الرياضيات, يطلق اسم المعادلات التفاضلية على المعادلات التي تحوي مشتقات و تفاضلات لبعض الدوال الرياضية و تظهر فيها بشكل متغيرات المعادلة . و يكون الهدف من حل هذه المعادلات هو إيجاد هذه الدوال الرياضية التي تحقق مشتقات هذه المعادلات.