Question

In: Computer Science

Convert these expressions to both sum of products and product of sums, minimizing where possible 1....

Convert these expressions to both sum of products and product of sums, minimizing where possible

1. abc+(d+e)c’+abc’

2. a(b+c(d+e))+d

Solutions

Expert Solution

Question 1:

abc + (d + e)c’ + abc’

ab(c + c’) + dc’ + ec’

Now, c + c’ = 1

On simplifying we get,

ab + dc’ + ec’

Since,x + x’ = 1, there will be no change in multiplying with it.

ab(c+c’)(d+d’)(e+e’) + (a+a’)(b+b’)c’d(e+e’) + (a+a’)(b+b’)c’(d+d’)e

Let us divide the expression into three parts,

P = ab(c+c’)(d+d’)(e+e’)

Q = (a+a’)(b+b’)c’d(e+e’)

R = (a+a’)(b+b’)c’(d+d’)e

P = abcde + abcde’ + abcd’e + abcd’e’ + abc’de + abc’de’ + abc’d’e + abc’d’e’

P = ?( 31, 30, 29, 28, 27, 26, 25, 24)

Q = (ab + ab’ + a’b + a’b’)c’d(e+e’)

Q = (abc’d + ab’c’d + a’bc’d + a’b’c’d)(e + e’)

Q = abc’de + ab’c’de + a’bc’de + a’b’c’de + abc’de’ + ab’c’de’ + a’bc’de’ + a’b’c’de’

Q = ?( 27, 19, 11, 3, 26, 18, 10, 2)

R = (ab + ab’ + a’b + a’b’)c’(d+d’)e

R = (abc’ + ab’c’ + a’bc’ + a’b’c’)(d + d’)e

R = (abc’d + ab’c’d + a’bc’d + a’b’c’d + abc’d’ + ab’c’d’ + a’bc’d’ + a’b’c’d’)e

R = abc’de + ab’c’de + a’bc’de + a’b’c’de + abc’d’e + ab’c’d’e + a’bc’d’e + a’b’c’d’e

R = ?( 19, 11, 3, 25, 17, 9, 1)

Now on adding P, Q and R we get,

?( 1, 2, 3, 9, 10, 11, 17, 18, 19, 24, 25, 26, 27, 28, 29, 30, 31)

It can also be written as,

?( 4,5,6,7,8,12,13,14,15,16,20,21,22,23)

Question 2:

Expression = ab + acd + ace + d

Let P = ab, Q = acd, R = ace , S = d

P = ab(c+c’)(d+d’)(e+e’)

P = abcde + abcde’ + abcd’e + abcd’e’ + abc’de + abc’de’ + abc’d’e + abc’d’e’

P = ?( 31, 30, 29, 28, 27, 26, 25, 24)

Q = acd(b+b’)(e+e’)

Q = acd(be + be’ + b’e + b’e’)

Q = abcde + abcde’ + ab’cde + ab’cde’

Q = ?(31,30,23,22)

R = a(b+b’)c(d+d’)e

R = ace(bd + bd’ + b’d + b’d’)

R = abcde + abcd’e + ab’cde + ab’cd’e

R = ?(31,29,23,21)

S = (a+a’)(b+b’)(c+c’)d(e+e’)

S = abcde + abcde’ + abc’de + abc’de’ + ab’cde + ab’cde’ + ab’c’de + ab’c’de’ + a’bcde + a’bcde’ + a’bc’de + a’bc’de’ + a’b’cde + a’b’cde’ + a’b’c’de + a’b’c’de’

S = ?(31,30,27,26,23,22,19,18,15,14,11,10,7,6,3,2)

On adding P,Q,R and S, we get

?(2,3,6,7,10,11,14,15,18,19,21,22,23,26,27,29,30,31)

This can also be written as,

?(1,4,5,8,9,12,13,16,17,20,24,25,28)

Please appreciate the solution if you find it helpful.

If you have any doubts in the solution , feel free to ask me in the comment section.


Related Solutions

Minimize the sums of products as well as the product of sums using k-maps, and using...
Minimize the sums of products as well as the product of sums using k-maps, and using Boolean algebra show which pairs are equivalent.
The sum of two numbers is 34. a)Find the largest possible product of these numbers.
  1-The sum of two numbers is 34.    a)Find the largest possible product of these numbers.    b)What would be the largest possible product if the sum if the two numbers were "k"? 2-Sixty meters of fencing are used to fence a rectangular garden.    a)Find the dimensions that will give that maximum area.    b)What would be the maximum area if "k" feet of fencing were used in terms of "k"? THANK YOU
1. It is possible to convert the cysteine (Cys) that is a part of Cys-tRNACys to...
1. It is possible to convert the cysteine (Cys) that is a part of Cys-tRNACys to alanine (Ala) by a catalytic reduction. If the resulting Ala-tRNACys were added to a mixture of ribosomes along with tRNAs correctly charged with the other 19 amino acids, all the other cofactors and proteins needed to make proteins in vitro, and mRNA for Insulin, what effect on the primary structure, tertiary structure and function of the insulin thus made would you expect?
Use calculus to find three positive numbers that sum to 150 with the greatest possible product.
Use calculus to find three positive numbers that sum to 150 with the greatest possible product.
Gross Domestic Product (GDP) Is the sum of all goods, both final and intermediate Equals the...
Gross Domestic Product (GDP) Is the sum of all goods, both final and intermediate Equals the total value of final goods and services produced in a year. Equals the total wages paid in a year. Is an obsolete economic indicator of inflation Is a measure of government output Gross Domestic Product (GDP) expressed in constant (real) dollars is called Real GDP. A price index. Permanent income. Capital accumulation. Gross National Product (GNP). The process of converting values expressed in current...
draw the mechanism for 1,3 butadiene = HBR for both possible products. explain which is the...
draw the mechanism for 1,3 butadiene = HBR for both possible products. explain which is the major product under thermodynamic control.
1) Convert the point (x,y,z)=(−2,−3,−1) to cylindrical coordinates. Give answers as positive values, either as expressions,...
1) Convert the point (x,y,z)=(−2,−3,−1) to cylindrical coordinates. Give answers as positive values, either as expressions, or decimals to one decimal place. (r,θ,z) = 2) Convert the point (x,y,z)= (3,−2,−3) to spherical coordinates. Give answers as positive values, either as expressions, or decimals to one decimal place. (ρ,θ,ϕ)= 3) Convert the equation ρ = 3 to rectangular coordinates and write in standard form.
Explain the possible correclation where both perpetrators and victims of violent crimes are likely to have...
Explain the possible correclation where both perpetrators and victims of violent crimes are likely to have consumed alcohol prior to certain aggressive acts, such as rape, assault, domestic violence, and murder (Collins and Messerschmidt 1993; Arseneault et al.2000; Cunradi et al. 1999; Scott et al. 1999). ARSENEAULT, L.; MOFFITT, T.E.; CASPI, A.; TAYLOR, P.J.; AND SILVA, P.A. Mental disorders and violence in a total birth cohort: Results from the Dunedin Study. Archives of General Psychiatry 57:979–986, 2000. COLLINS, J.J., AND...
Convert C code to MIPS assembly language 1) sum = 0; for(i=0; I < 1000; i++)...
Convert C code to MIPS assembly language 1) sum = 0; for(i=0; I < 1000; i++) sum = sum + I; printf(“sum=%d”, sum); 2) int i, v[10]; int min, k; for(i=0; i < 10; i++) scanf(“%d”, &v[i]); min = v[0] for(i=1; I < 10; i++) if(min > v[i]){ min = v[i] k = I; } printf(“%d=>%d”, k, min);
Product Pricing: Two Products Quality Data manufactures two products, CDs and DVDs, both on the same...
Product Pricing: Two Products Quality Data manufactures two products, CDs and DVDs, both on the same assembly lines and packaged 10 disks per pack. The predicted sales are 400,000 packs of CDs and 500,000 packs of DVDs. The predicted costs for the year 2009 are as follows: Variable Costs Fixed Costs Materials $100,000 $600,000 Other 250,000 600,000 Each product uses 50 percent of the materials costs. Based on manufacturing time, 40 percent of the other costs are assigned to the...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT