208 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
71
views
How do I construct a boolean circuit from a boolean function when I cancelled our one of the variables?
I was given a truth table of four variables, let's call them A,B,C,D. I found every instance where the truth table was true and turned it into a function:
F = (-A^-B^-C^-D) v (-A^-B^-C^ D) v (-A^-B^ C^...
0
votes
1
answer
84
views
VBA function to identify correct assembly in Truth Table
I am trying to write a VBA function that solves for the correct assembly by identifying if the model digits in a row are true when compared to a model number. There are multiple sheets. Each sheet is ...
1
vote
3
answers
101
views
Un-consolidate truth table in excel
I have a truth table that has been consolidated. This truth table is used to solve for what assembly is used based on a model nomenclature. Each row represents digit in the model number.
I wish to un-...
0
votes
1
answer
129
views
Python - Google Colab - IndexError: index 2 is out of bounds for axis 0 with size 1
I am trying to solve the sparse matrix equation
u_derivative_1 = A * u
(A is the sparse matrix)
But I'm getting the following error :-
IndexError Traceback (most ...
-3
votes
1
answer
3k
views
Not x and not y = not (x or y)?
the question
F (x,y,z) = ¬x¬y , and G(x,y,z) = ¬(x + y)
is F(x,y,z) = G(x,y,z) ?
Will we get the same truth table output?
This is the truth table outputs that I got and it’s not equal but others say ...
-1
votes
1
answer
209
views
Generate all possible combinations basing on binary string and under some conditions
I have to write algorithm that will generate all possible combinations of different binary strings but under some conditions. The combinations are created by:
Replacing binary "1" with "...
-1
votes
1
answer
252
views
Truth table for a pseudocode
I am looking at the truth table for following pseudocode.
IF year = 11 AND (grade < target OR target >7) THEN
SET revision_class TO true
END IF
I want to know whether the below truth table ...
0
votes
1
answer
62
views
How to coerce a truth table into a dataset or in tibble
I have a dataset where I am training on to coerce as dataset (foundable in the onòy in SetMethods package)
library(QCA)
library(SetMethods)
data(SCHF)
# Get the truth table for the presence of the ...
1
vote
1
answer
61
views
How could it be possible coercing the QCA_mm class objvet into a table?
I have this table, produced as output from the truthTable() and minimize() functions of the package QCA
I am struggling with finding some method for coercing this QCA_min` object into a flextable (or ...
-1
votes
4
answers
263
views
A standard/popular class to easily manage truth tables in C++?
Given a truth table with 5 inputs and one output, with a function prototype like:
bool compute(bool in1, bool in2, bool in3, bool in4, bool in5);
Is there somewhere, in the STL or other library, a ...
0
votes
0
answers
120
views
Specify DC cover with espresso_exprs
I'm just getting started learning pyeda, and fairly new to python in general. I have a very complex partially-defined Boolean expression (80~140 variables, 10K terms) that's too big to express as a ...
1
vote
1
answer
1k
views
Generate Truth Table
How to generate truth table by coding in Javascript for three literals (a, b, c) and also find a given boolean expression (![(a && b) || c])?
I am trying following code:
let input = ['a', ...
1
vote
1
answer
272
views
Find a boolean expression from a truth table (several bits)
I have the following truth table (a and b being my inputs and r the result):
a
b
r
00
00
00
00
01
01
00
11
01
01
00
01
01
01
01
01
11
01
11
00
01
11
01
01
11
11
11
The issue is that I can't find the ...
0
votes
1
answer
646
views
boolean expression from truth table
I want to convert truth table to boolean expression :
for example , this is the table
a b a+b>0
0 1 1
1 0 1
I want to get the following output:
(...
0
votes
1
answer
67
views
selecting some rows from Truth Table
I am using Truths class to generate a truth table :
https://github.com/tr3buchet/truths
However I could not enumerate all rows or extract rows with correct evaluation of expression? Is there a way to ...