This isnt a programming question! This is discrete math using binary.
The objective of this problem is to create a function that adds two 2-digit binary numbers using the logical operation ∨ and the operator ¬. Use the notation x2x1 and y2y1 for the two summands (the xs and ys are digits), and z3z2z1 for the sum. I suggest creating the function so that the input is the ordered quadruple (x2,x1,y2,y1) and the output is the ordered triple (z3,z2,z1). The variables (x1,…,z3) are elements of M interpreted as though each is equal to 1o r0 depending on whether they are true or false, respectively. So if you name your function add, then add:M×M×M×M→M×M×M, that is add:M4→M3
We've got everything to become your favourite writing service
Money back guarantee
Your money is safe. Even if we fail to satisfy your expectations, you can always request a refund and get your money back.
Confidentiality
We don’t share your private information with anyone. What happens on our website stays on our website.
Our service is legit
We provide you with a sample paper on the topic you need, and this kind of academic assistance is perfectly legitimate.
Get a plagiarism-free paper
We check every paper with our plagiarism-detection software, so you get a unique paper written for your particular purposes.
We can help with urgent tasks
Need a paper tomorrow? We can write it even while you’re sleeping. Place an order now and get your paper in 8 hours.
Pay a fair price
Our prices depend on urgency. If you want a cheap essay, place your order in advance. Our prices start from $11 per page.