" m out of n " codes
An alternative method of detecting errors is to use an " m out of n " code where n represents the total number of bits in a binary word, of which m must be set to.
1. if more or less than n bits are set to 1 then errors are present. The error detection circuitry has to...
Help, "2 in 5" digital error detecting question (M in N)
Homework Statement
Explain how a "2 in 5" code can detect all single bit errors but only some double errors in the 5-bit coding of a single digit.
give an example where, in one 5-bit code of a single decimal digit
a) Two errors...
Would this be correct?
p: x is odd and is a multiple of 3
q: x ≥ 6
~p: x is even and x is not a multiple of 3
~q: x ≤ 6
so
Contrapositive
if x ≤ 6, then x is even and x is not a multiple of 3
Negation
x is even and x is not a multiple of 3, therefore x ≤ 6
Thank you DH, that was very helpful. My final question is, does it matter which way we write down the truth table?
e.g.
which one is correct?
p | q | P → q | p∧(p→q)→q
---------------------------
T | T | T | T
T | F | F | T
F | T | T | T
F | F | T | T
OR
p | q | P → q | p∧(p→q)→q...
I know that the matrix A which represents reflection in the x-axis is:
1 0
0 -1
But don't really know anything else about solving this question as it's all new to me...
Homework Statement
The average salary for an employee at ABC Ltd is £30,000 per year, with a variance of £4,000,000. This year, the management plans to award every employee a fixed end-of-year bonus of £500 and an incentive bonus that is equal to 10% of the employee's salary.
a) What is...
Homework Statement
Find the image location of point (5,2) after reflection in the x-axis followed by rotation through 180 degrees about the origin.
Homework Equations
Matrix Transformation
The Attempt at a Solution
None, need help!
Thanks Mark44, as you are aware, there are two variables in this statement so it is quite tricky for me to answer at this point in time, I am pretty new to logic, what would the answer to this question be written down in English?
p | q | P → q
-------------
T | T | T
T | F | F
F | T | T
F | F | T
Thank you Mark44 but I don't think this is the correct answer/method as the output has to be true in all cases in order for it to be labeled a tautology. Any other suggestions?
Homework Statement
By providing a truth table, show that the following logic statement is a tautology:
p ∧ (p → q) → qAny help will be much appreciated.
Thank You
Homework Statement
Consider the statement "if x is odd and x is a multiple of 3, then x ≥ 6." write down the contrapositive and negation of this statement?
2. The attempt at a solution
This is what I worked our as an answer but I am pretty sure it's wrong.
Contrapositive
"if x ≤ 6, then x...