Find the complement of the function F:
F = xy + xy'z + x'yz
#include<bits/stdc++.h>
using namespace std;
int main()
{
// We have to calculate compliment of F =
xy + xy'z + x'yz
//which is
//F'= (xy+xy'z+x'yz)'
//We will constrcut the Truth Table for the above
equation
char x[8]= {'T','T','T','T','F','F','F','F'};
char y[8]= {'T','T','F','F','T','T','F','F'};
char z[8]= {'T','F','T','F','T','F','T','F'};
char
y_comp[8],x_comp[8],xy[8],x_ycmp_z[8],xcmp_y_z[8];
char F[8],F_comp[8];
//For calculating compliment of x and y......x',
y'
for(int i=0; i<8; i++){
// Compliment of x
if(x[i]=='T'){
x_comp[i]='F';
}
else{
x_comp[i]='T';
}
//Compliment of y
if(y[i]=='T'){
y_comp[i]='F';
}
else{
y_comp[i]='T';
}
}
//For Calculating xy
for(int i=0; i<8; i++){
if(x[i]=='T' &&
y[i]=='T'){
xy[i]='T';
}
else{
xy[i]='F';
}
}
//For Calculating xy'z
for(int i=0; i<8; i++){
if(x[i]=='T' &&
y_comp[i]=='T'&& z[i]=='T'){
x_ycmp_z[i]='T';
}
else{
x_ycmp_z[i]='F';
}
}
//For Calculating x'yz
for(int i=0; i<8; i++){
if(x_comp[i]=='T' &&
y[i]=='T'&& z[i]=='T'){
xcmp_y_z[i]='T';
}
else{
xcmp_y_z[i]='F';
}
}
//For Calculating F= xy + xy'z + x'yz
for(int i=0; i<8; i++){
if(xy[i]=='T' || x_ycmp_z[i]=='T'
|| xcmp_y_z[i]=='T'){
F[i]='T';
}
else{
F[i]='F';
}
}
//For Calculating F'= (xy + xy'z + x'yz)'
for(int i=0; i<8; i++){
if(F[i]=='T'){
F_comp[i]='F';
}
else{
F_comp[i]='T';
}
}
//Printing out the result
cout<<"\n\n\t\t\tF = xy + xy'z +
x'yz"<<endl<<endl;
cout<<"\n\n\t\t\tF'= (xy + xy'z +
x'yz)'"<<endl<<endl;
cout<<"\n\n\tx\ty\tz\tx'\ty'\txy\txy'z\tx'yz\tF\tF'"<<endl<<endl;
//x y
z x' y' xy
xy'z x'yz xy+xy'z+x'yz
(xy+xy'z+x'yz)'
for(int i=0; i<8; i++){
cout<<"\t"<<x[i]<<"\t"<<y[i]<<"\t"<<z[i]<<"\t"<<x_comp[i]<<"\t"<<y_comp[i]<<"\t"<<xy[i]<<"\t"<<x_ycmp_z[i]<<"\t"<<xcmp_y_z[i]<<"\t"<<F[i]<<"\t"<<F_comp[i]<<endl;
}
}

COMMENT DOWN FOR ANY QUERIES AND,
LEAVE A THUMBS UP IF THIS ANSWER HELPS YOU.
Which expression below is equivalent to F(X,Y,Z) = ((X'Y)'(XY)'(YZ')')' a. X'YZ' b. X'YZ + X'Y'Z c. X'Y + XY + YZ' d. X'Y + XY'Z'
Due tomorrow! I need help. The Boolean function F(x, y) = x'y + xy' + (x'+y')(xy) can be simplified to: x'y' 1 xy x Å y What is the simplified expression for the following Kmap? X'Z + XZ Y' Z + X'Z Z Question 3 (10 points) 3. 1. W' + WX'YZ' 2. W'Y' + W'Y + WX'YZ' 3. W'Y' + W'X' + X'YZ' W' + X'YZ' Question 4 (2 points) 4. There are ____________ megabytes in a terabyte. 230...
Create the Kmaps and then simplify for the following functions: a. F(x,y,z) = x'y'z' + x'yz + x'yz' b. F(x,y,z) = x'y'z' + x'yz' + xy'z' + xyz' c. F(x,y,z) = y'z' + y'z + xyz'
Derive the truth table for the following Boolean functions: F(x,y,z) = x'y'z' + x'yz + xy'z' + xyz
Find the complement of the following expressions b) (AB+C)0%E 2. Given the Boolean function F -xy + x'y' y'z 1. Implement it with AND, OR, and inverter 2. Implement it with OR and inverter gates, and 3. Implement it with AND and inverter gate 3. Express the following function in sum of minterms and product of maxterms: a) F(A,B,C,D) - B'DA'D BD b) F (AB+C)(B+C'D) 4.Express the complement of the following function in sum of minterms a) F (A,B,C,D)-2 (0,2,6,11,13,14)...
Problem 3. Find the complement of the following expressions. a) XY + XY b) (X + YZ)(XỸ + z)(X + Y + Z)
For the function f(x,y)-In(x' + xy) find a) f
What is the simplified version of the three-variable K-map for the following expression *xy+x'y'z'+x'yz'
9) Find the absolute maxima and minima of the function f(x,y) = x2 + xy + y2 on the square -8 < x,y 5 8
For the function f(x, y) = x + xy – 2xºys – 3y*, find the following: 13 pts) a) fx b) c ) $x(1,1) d) (1,1)