Question

For the 3-CNF f = (x’ +y’+z)& (x+y’+z’)&(x+y+z’)& (x’+y+z)&(x’+y+z’) &(x+y+z) where “+” is or, “&” is...

For the 3-CNF

f = (x’ +y’+z)& (x+y’+z’)&(x+y+z’)& (x’+y+z)&(x’+y+z’) &(x+y+z)

where “+” is or, “&” is and operations, “ ’ ” is negation.

a)give 0-1 assignment to variables such that

f=1    x= ______ y= ______ z= ____

f=0    x= ______ y= ______ z= ____

-

b) Draw the corresponding graph and mark the maximum independent set.

(you can draw on paper, scan and insert here)

Homework Answers

Answer #1

A)

f = (x’ +y’+z)& (x+y’+z’)&(x+y+z’)& (x’+y+z)&(x’+y+z’) &(x+y+z)

a)give 0-1 assignment to variables such that

f=1 x= 1, y=1, z=1

When we Substitute these values in f, we will get f=1

f=0 x=0, y=0, z=0

When we Substitute these values in f, we will get f=0

------------------------------------

B) Draw the corresponding graph and mark the maximum independent set.

For each clause in f = (x’ +y’+z)& (x+y’+z’)&(x+y+z’)& (x’+y+z)&(x’+y+z’) &(x+y+z),

we have 3 vertices, all three vertices within a clause will be connected via edges.

For each literal L in Clause i, it will be connected to literal L' in Clause j via edge.

We obtain the below graph, the yellow nodes denoted the maximum independent set int the graph,

Observe those yellow nodes when set to 1(represent x=1, y=1, z=1) form a satisfiable assignment to formula f.

----------------------------

I hope this helps you,

Please rate this answer if it helped you,

Thanks for the opportunity

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
1.) Let f ( x , y , z ) = x ^3 + y +...
1.) Let f ( x , y , z ) = x ^3 + y + z + sin ⁡ ( x + z ) + e^( x − y). Determine the line integral of f ( x , y , z ) with respect to arc length over the line segment from (1, 0, 1) to (2, -1, 0) 2.) Letf ( x , y , z ) = x ^3 * y ^2 + y ^3 * z^...
(Lagrange Multipliers with Three Variables) Find the global minimum value of f(x,y,z)=(x^2/4)+y^2 +(z^2/9) subject to x...
(Lagrange Multipliers with Three Variables) Find the global minimum value of f(x,y,z)=(x^2/4)+y^2 +(z^2/9) subject to x - y + z = 8. Now sketch level surfaces f(x,y,z) = k for k = 0; 1; 4 and the plane x-y +z = 8 on the same set of axes to help you explain why the point you found corresponds to a minimum value and why there will be no maximum value.
Assume that X~N(0, 1), Y~N(0, 1) and X and Y are independent variables. Let Z =...
Assume that X~N(0, 1), Y~N(0, 1) and X and Y are independent variables. Let Z = X+Y, and joint density of Y and Z is expressed as f(y, z) = g(z|y)*h(y) g(z|y) is conditional distribution of Z given y, and h(y) is density of Y how can i get f(y, z)?
Consider the formula A : ∃x.[(∀y.P (x, y) → R(x)) → ¬∃z.Q(x, z)] (a) Find a...
Consider the formula A : ∃x.[(∀y.P (x, y) → R(x)) → ¬∃z.Q(x, z)] (a) Find a formula equivalent to A that only has negation symbols in front of basic formulas. (b) Give an example of an interpretation where A is true. The domain should be the set N. (c) Give an example of an interpretation where A is false. The domain should be the set N.
Use Stokes" Theorem to evaluate (F-dr where F(x, y, z)=(-y , x-z , 0) and the...
Use Stokes" Theorem to evaluate (F-dr where F(x, y, z)=(-y , x-z , 0) and the surface S is the part of the paraboloid : z = 4- x^2 - y^2 that lies above the xy-plane. Assume C is oriented counterclockwise when viewed from above.
Suppose X, Y, and Z are random variables with the joint density function f(x, y, z)...
Suppose X, Y, and Z are random variables with the joint density function f(x, y, z) = Ce−(0.5x + 0.2y + 0.1z) if x ≥ 0, y ≥ 0, z ≥ 0, and f(x, y, z) = 0 otherwise. (a) Find the value of the constant C. (b) Find P(X ≤ 0.75 , Y ≤ 0.5). (Round answer to five decimal places). (c) Find P(X ≤ 0.75 , Y ≤ 0.5 , Z ≤ 1). (Round answer to six decimal...
Let f(x,y,z)=xy+z^3, x=r+s−8t, y=3rt, z=s^6. Use the Chain Rule to calculate the partial derivatives. (Use symbolic...
Let f(x,y,z)=xy+z^3, x=r+s−8t, y=3rt, z=s^6. Use the Chain Rule to calculate the partial derivatives. (Use symbolic notation and fractions where needed. Express the answer in terms of independent variables
4. Consider the function z = f(x, y) = x^(2) + 4y^(2) (a) Describe the contour...
4. Consider the function z = f(x, y) = x^(2) + 4y^(2) (a) Describe the contour corresponding to z = 1. (b) Write down the equation of the curve obtained as the intersection of the graph of z and the plane x = 1. (c) Write down the equation of the curve obtained as the intersection of the graph of z and the plane y = 1. (d) Write down the point of intersection of the curves in (b) and...
Bordered Hessian element The Lagrangian is L=ln(x+y^2) -z^3/(3*y) -x*y +λ*(x*z +3*x^2*y -r), where r is a...
Bordered Hessian element The Lagrangian is L=ln(x+y^2) -z^3/(3*y) -x*y +λ*(x*z +3*x^2*y -r), where r is a parameter (a known real number). Here, ln denotes the natural logarithm, ^ power, * multiplication, / division, + addition, - subtraction. The border is at the top and left of the Hessian. The variables are ordered λ,x,y,z. Find the last element in the second row of the bordered Hessian at the point (λ,x,y,z) =(0.11, 0, 2440, 0.01167). This point need not be stationary and...
1)T F: All (x, y, z) ∈ R 3 with x = y + z is...
1)T F: All (x, y, z) ∈ R 3 with x = y + z is a subspace of R 3 9 2) T F: All (x, y, z) ∈ R 3 with x + z = 2018 is a subspace of R 3 3) T F: All 2 × 2 symmetric matrices is a subspace of M22. (Here M22 is the vector space of all 2 × 2 matrices.) 4) T F: All polynomials of degree exactly 3 is...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT