Posts by Pedro • 78 points
10 posts
-
0
votes2
answers237
views -
0
votes1
answer142
viewsA: struct function parameters
I will separate the explanation into two parts, errors in logic(1) and errors in the syntax of the language C(2): (1) Much of the logic of your program is right, in other words, you are doing the…
-
1
votes1
answer264
viewsA: Logic expression and corresponding circuit
Yes you’re right. On issues like this, simplification, I recommend going straight to the Karnaugh map. Also, just to supplement your question/answer, I will (1) explain your map of Karnaugh and (2)…
-
1
votes2
answers469
viewsA: (~ABC)+(A~B~C)+(AB~C)+(ABC)
Victor’s answer is very good, but this solution I’ll give you is a direct continuation of his. Basic properties of Boolean algebra used. A ( B + C) = AB + AC (Distributiva AND) A + ( BC) =…
-
0
votes2
answers104
viewsA: Is it correct to say that this Boolean simplification is correct?
Answer your immediate questions: a)--- is my simplification correct, even different from the other? Its simplification is wrong from line 4 (line that starts its implication A'.C + A = C . 1). Being…
-
1
votes1
answer61
viewsA: Procedure runs alone -Pascal
Change all occurrences of read, to readln. If you use read the " n" will be stored.
-
0
votes1
answer54
viewsA: Error in the roots of Bhaskara
The error is in precedence, the way it is doing raiz1 behaves like this:…
-
0
votes0
answers50
viewsQ: Type incompatibility and difficulty reading a vector
I’m struggling with a problem, which at first I thought was quite trivial, but in the end I couldn’t do it. It is an exercise in a proof of Algorithms it is below: MASTERMIND GAME CONSIDER THE…
-
1
votes1
answer27
viewsQ: Unstructured boundary notation when it is in an exponent
I’m having a hard time getting the function lim_{x to infty} to stay in the structured exponent so that {x to infty} is below and not on the 'Lim' side. This only happens when I limit the exponent.…
-
1
votes1
answer318
viewsQ: Multiplexer implemented with Nand ports
I don’t understand why this logic circuit is a multiplexer…
boolean-algebraasked Pedro 78