1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
GuDViN [60]
4 years ago
11

Design a Boolean circuit that verifies whether a given integer 0 ≤ x < 16 is divisible by 5

Mathematics
2 answers:
Dmitry_Shevchenko [17]4 years ago
8 0

This question is incomplete, the complete question is;

Your boss asks you to design a Boolean circuit that verifies whether a given integer 0 < x < 16 is divisible by 5.

Every such number is represented in binary using four bits, say b₃b₂b₁b₀, and so your Boolean circuit will have four inputs. For instance, the number 13 is written in binary as 1101 and so to test its divisibility by 5 a user would feed the values b₀ = 1, b₁ = 0, b₂ = 1, and b₃ = 1 into the inputs of your circuit.

The Boolean circuit will have a single output, which should deliver the value 1 if the iput values represent a number that is divisible by 5 and 0 otherwise.

a) write down the truth table of the Boolean function F(b₀,b₁,b₂b₃) that implements this "divisible by 5" operation

b) construct a Boolean expression in disjunctive normal form that implements the Boolean function yo wrote down in a)

Answer:

Given that;

integer range = 0≤ x ≤ 16

within 4bits, we can represnt each number

(0,5,10,15)

a)  

Truth table for function that implements  divisible by 5

Integer    B3    B2    B1    B0     Y

0              0       0      0      0      1

1              0       0      0       1      0

2              0       0      1        0     0

3              0       0      1        1      0

4              0       1       0       0     0

5              0       1       0       1      1

6              0       1       1        0     0

7              0       1       1        1       0

8              1       0      0        0      0

9              1       0      0        1       0

10             1       0      1         0      1

11              1       0      1          1      0

12             1        1      0         0     0

13             1         1     0          1      0

14             1         1       1         0     0

15            1         1        1        1       1

b)

Boolean expression that implements the Boolean function from a)

from the truth table;

Boolean expression Y is;

Y = b⁻₃b⁻₂b⁻₁b⁻₀ / y₁   +   b⁻₃b₂b⁻₁b₀ / y₂   +   b₃b⁻₂b₁b⁻₀ / y₃   +   b₃b₂b₁b₀ / y₄

alexandr402 [8]4 years ago
6 0

Answer:

  circuit is in the second attachment

Step-by-step explanation:

Attached is a truth table for the desired circuit, where b3–b0 are the input bits, MSB–LSB. We notice that the output is true whenever b3=b1 and b2=b0. This can be written in DNF as ...

  Y=b_3'b_2'b_1'b_0'+b_3b_2'b_1b_0'+b_3'b_2b_1'b_0+b_3b_2b_1b_0

More compactly, it can be written in terms of the exclusive-nor function as ...

  y=(b_3\odot b_1)\wedge(b_2\odot b_0)

A circuit diagram showing this circuit is the second attachment. (A–D are the input bits, in order MSB–LSB (or its reverse)).

You might be interested in
What is the constant of proportionality in the table shown below?
nikdorinn [45]

Answer:

3/4.

Step-by-step explanation:

I just know. I studied constant of proportionality for a loooong time! if its wrong tell me.

4 0
3 years ago
An experimenter used the following design for studying five variables in eight runs in four blocks of size 2. (a) By reordering
never [62]

Answer:

A design in which all levels of each independent variable are combined with all levels of the other independent variables. A factorial design allows investigation of the separate main effects and interactions of two or more independent variables.

Step-by-step explanation:

3 0
4 years ago
Please help im being timed <br><br> Inverse of f(x)=15x+4
rusak2 [61]

Answer:

f^{-1}(x) =

Step-by-step explanation:

let y = f(x), then rearrange making x the subject

y = \frac{1}{5}x + 4 ( subtract 4 from both sides )

y - 4 = \frac{1}{5}x ( multiply both sides by 5 to clear the fraction )

5y - 20 = x

Change y back into terms of x with x = f^{-1} (x) , then

f^{-1} (x) = 5x - 20

3 0
3 years ago
Lucas deposits $4,000.00 for 6 years at 2% interest, compounded monthly. How much interest does he earn at the end of the 6 year
Rudik [331]

Answer:

$12644.56

Step-by-step explanation:

one year = 12 month

4,000 * (1.02)^(6*12) = 16644.5615

16644.5615-4000 = 12644.5615

6 0
3 years ago
Read 2 more answers
Solve the equation below: <br> (find x)
Novay_Z [31]

Answer:

X=-8

Step-by-step explanation:

3x-4=7×-4

3x-4=-28

3x=-28+4

3x=-24

x=-24/3

x=-8

3 0
3 years ago
Other questions:
  • anjaya is making punch. He uses 1··3c of pineapple juice for every 3··4c of orange juice. How many cups of pineapple juice does
    8·1 answer
  • How many minutes are there in 6 3/4 hours
    7·2 answers
  • How many minutes r there in 3 weeks
    15·2 answers
  • A golf ball is hit from the ground with an initial velocity of 208 ft./s. assume the starting height of the ball is 0 feet. how
    7·1 answer
  • What is the common difference of 80,60,45,33.75
    6·1 answer
  • What linear function can be represented by the set of ordered pairs? {(−1, −10), (3, 2), (5, 8), (7, 14)} enter your answer in t
    9·2 answers
  • HELP ME ASAP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    10·1 answer
  • What does it mean when a math problem ask to simplify the problem?
    15·1 answer
  • Which decimial number means the same as 12/100
    5·2 answers
  • Translate this expression:<br> 8 less than y
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!