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
Q15. Ken earned x dollars at his part-time job on Friday. His wife earned $12 more
Vladimir79 [104]

Answer: Ken Earned 81$

Step-by-step explanation: Subtract 12 from the total, then divide by 2 because his wife earns double than him, plus 12$ more.

Have a good day :)

3 0
1 year ago
Find all solutions for a triangle with c=70 c=24 and a=25
Slav-nsk [51]

Answer:

see the attachments for the two solutions

Step-by-step explanation:

When the given angle is opposite the shorter of the given sides, there will generally be two solutions. The exception is the case where the triangle is a right triangle (the ratio of the given sides is equal to the sine of the given angle). If the given angle is opposite the longer of the given sides, there is only one solution.

When a side and its opposite angle are given, as here, the law of sines can be used to solve the triangle(s). When the given angle is included between two given sides, the law of cosines can be used to solve the (one) triangle.

___

Here, the law of sines can be used to solve the triangle:

A = arcsin(a/c·sin(C)) = arcsin(25/24·sin(70°)) = 78.19° or 101.81°

B = 180° -70° -A = 31.81° or 8.19°

b = 24·sin(B)/sin(70°) = 13.46 or 3.64

5 0
3 years ago
Read 2 more answers
Plz help me with this math and also explain
jasenka [17]

Step-by-step explanation:

<h2>[1]</h2>

  • SI = $250
  • Rate (R) = 12\sf \dfrac{1}{2} %
  • Time (t) = 4 years

\longrightarrow \tt { SI = \dfrac{PRT}{100} } \\

\longrightarrow \tt { 250 = \dfrac{P \times 12\cfrac{1}{2} \times 4}{100} } \\

\longrightarrow \tt { 250 = \dfrac{P \times \cfrac{25}{2} \times 4}{100} } \\

\longrightarrow \tt { 250 = \dfrac{P \times 25 \times 2}{100} } \\

\longrightarrow \tt { 250 = \dfrac{P \times 50}{100} } \\

\longrightarrow \tt { 250 \times 100 = P \times 50} \\

\longrightarrow \tt { 25000 = P \times 50} \\

\longrightarrow \tt { \dfrac{25000}{50} = P } \\

\longrightarrow \underline{\boxed{ \green{ \tt { \$ \; 500 = P }}}} \\

Therefore principal is $500.

<h2>__________________</h2>

<h2>[2]</h2>

  • 2/7 of the balls are red.
  • 3/5 of the balls are blue.
  • Rest are yellow.
  • Number of yellow balls = 36

Let the total number of balls be x.

→ Red balls + Blue balls + Yellow balls = Total number of balls

\longrightarrow \tt{ \dfrac{2}{7}x + \dfrac{3}{5}x + 36 = x} \\

\longrightarrow \tt{ \dfrac{10x + 21x + 1260}{35} = x} \\

\longrightarrow \tt{ \dfrac{31x + 1260}{35} = x} \\

\longrightarrow \tt{ 31x + 1260= 35x} \\

\longrightarrow \tt{ 1260= 35x-31x} \\

\longrightarrow \tt{ 1260= 4x} \\

\longrightarrow \tt{ \dfrac{1260 }{4}= x} \\

\longrightarrow \underline{\boxed{  \tt { 315 = x }}} \\

Total number of balls is 315.

A/Q,

3/5 of the balls are blue.

\longrightarrow \tt{ Balls_{(Blue)} =\dfrac{3 }{5}x} \\

\longrightarrow \tt{ Balls_{(Blue)} =\dfrac{3 }{5}(315)} \\

\longrightarrow \tt{ Balls_{(Blue)} = 3(63)} \\

\longrightarrow \underline{\boxed{ \green {\tt { Balls_{(Blue)} = 189 }}}} \\

8 0
3 years ago
Solve the following equation for y: 35x-7y=49​
Brrunno [24]
The answer is Y equals -7+5x
5 0
3 years ago
Read 2 more answers
Jerry has been staying up late at night to get in some extra study time. He hopes to get accepted into his favorite college and
svet-max [94.6K]
(Answer coming from someone who’s stressed himself)
Upset stomach.
When you’re stressed, you have a higher heart rate, difficulty sleeping, and feeling exhausted the whole day.
3 0
3 years ago
Read 2 more answers
Other questions:
  • Kelvins monthly allowance is $42 and mikes monthly allowance is $63. How many times mikes monthly allowance is kelvins monthly a
    10·1 answer
  • PLS HELP ME WITH THIS QUIZ IF YOU WANT A BRAINLIEST PLS
    10·2 answers
  • Celine's book club read 42 books over 14 months. How many total months will it take them to read 57 books? Solve using unit rate
    7·1 answer
  • The difference of the range and the interquartile range of the data set represented by the box plot is
    11·2 answers
  • QUIZ:
    7·1 answer
  • F(x)= -x^2+19 find f(3)
    10·2 answers
  • The linear equation was solved using these steps. Linear equation: 1 3 (12x + 15) = 7 Step 1: 4x + 5 = 7 Step 2: 4x = 2 Step 3:
    6·2 answers
  • If you averaged 400 miles a day how many miles would it take to go 1990 miles?
    5·2 answers
  • The distance between the point (-3,4) and the point of origin
    7·1 answer
  • Caroline's hair is
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!