Always true
Du skriver inn
- Uttrykk
- A OR NOT A
Du får
- SOP
- 1
- POS
- 1
- Variabler
- A
- Mintermer
- 0, 1
Whatever A is, either A or not A is true, so both rows give 1. This is the sample the Load example button uses.
Kjørt med verktøyets egen kode.
Free to use, no account
Skriv inn et logisk uttrykk for å få minimerte sum-av-produkter- og produkt-av-summer-former. Kontroller hver rad i sannhetstabellen, og vis et Karnaugh-kart for uttrykk med to til fire variabler.
Skriv inn et uttrykk med variablene A–F og boolske operatorer, og velg deretter Forenkle. Sammenlign SOP- og POS-formene med den genererte sannhetstabellen. For to til fire variabler viser verktøyet også et Karnaugh-diagram i Gray-rekkefølge.
Veiledning
The Boolean Algebra Calculator reads a logic expression with variables A to F and gives the shortest sum-of-products (SOP) and product-of-sums (POS) forms, the full truth table, and the list of minterms. For two to four variables it also draws a Karnaugh map. It checks the work against the truth table. It is not a circuit simulator or a formal proof tool.
Whatever A is, either A or not A is true, so both rows give 1. This is the sample the Load example button uses.
Kjørt med verktøyets egen kode.
The two terms differ only in B, so B drops out and only A remains. The minterms 2 and 3 are the rows where A is 1.
Kjørt med verktøyets egen kode.
XOR is true when exactly one input is true, which is rows 01 and 10. It has no shorter form, so SOP and POS keep both terms.
Kjørt med verktøyets egen kode.
The plus sign means or, and letters written side by side mean and. So the expression is A or (B and C). Rows 3 to 7 of the 8-row table are true.
Kjørt med verktøyets egen kode.
Only the letters A to F are allowed, so G triggers the message. The same message appears for unbalanced brackets, a missing operand, or an expression with no variable.
Kjørt med verktøyets egen kode.
Type it using A to F and the operators, then press Simplify expression. Compare the SOP and POS results with the truth table. For two to four variables you also see a Karnaugh map.
Sum of products joins AND terms with OR, such as A & B | C. Product of sums joins OR clauses with AND, such as (A | B) & C. Both are worked out from the same truth table.
It is the number of a truth table row where the expression is true. Rows count in binary with A as the leftmost, highest digit, so row 5 with three variables is A=1, B=0, C=1.
The page lists ! & ^ |. The code also reads the words AND, OR, NOT and XOR, plus *, + and ~, and treats two letters side by side as AND. Lowercase letters are changed to capitals.
Some functions have several equally short forms, and the tool picks one. If both match the truth table, both are correct. Equal results mean the same table, not the same text.
For expressions that use two, three or four distinct variables. The rows and columns follow Gray code, where only one bit changes between neighbours. With one, five or six variables no map is drawn.
No. Reading, minimizing, the truth table and the map are all done in your browser, and the expression is not sent or saved by the tool.
Skriv inn et uttrykk med variablene A–F og boolske operatorer, og velg deretter Forenkle. Sammenlign SOP- og POS-formene med den genererte sannhetstabellen. For to til fire variabler viser verktøyet også et Karnaugh-diagram i Gray-rekkefølge.
Nei. Tolking, minimering, generering av sannhetstabell og visning av Karnaugh-kart kjøres i nettleseren. Uttrykket lastes ikke opp eller lagres av dette verktøyet.
SOP kombinerer AND-ledd med OR; POS kombinerer OR-ledd med AND. Verktøyet beregner begge formene fra samme sannhetstabell.
Et Karnaugh-diagram sortert etter Gray-kode vises for uttrykk med to, tre eller fire variabler. Sannhetstabellen og de minimerte formene støtter opptil seks variabler.