Casio FX-CG10 Software User Guide - Page 69
Logical Operators AND, OR, NOT, XOR, About Logical Operations
View all Casio FX-CG10 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 69 highlights
k Logical Operators (AND, OR, NOT, XOR) [OPTN]-[LOGIC] The logical operator menu provides a selection of logical operators. • {And}/{Or}/{Not}/{Xor} ... {logical AND}/{logical OR}/{logical NOT}/{logical XOR} • Be sure to specify Comp for Mode in the Setup screen. Example What is the logical AND of A and B when A = 3 and B = 2? A AND B = 1 Operation 3aav(A)w 2aal(B)w av(A)K6(g)6(g) 4(LOGIC)1(And)al(B)w Display 1 u About Logical Operations • A logical operation always produces either 0 or 1 as its result. • The following table shows all of possible results that can be produced by AND, OR and XOR operations. Value or Expression A A ≠ 0 A ≠ 0 A = 0 A = 0 Value or Expression B B ≠ 0 B = 0 B ≠ 0 B = 0 A AND B 1 0 0 0 A OR B 1 1 1 0 A XOR B 0 1 1 0 • The following table shows the results produced by the NOT operation. Value or Expression A NOT A A ≠ 0 0 A = 0 1 2-23