Explore Discrete Math Examples

Recent questions in Discrete math
Discrete mathAnswered question
nikakede nikakede 2022-09-05

Discrete Math Clause Count Question
In a CNF formula, a clause contains one or more terms. Each term is either a variable, or the negation of a variable. The only limitations we will place on the clauses (for this problem) is that if a clause mentions a variable (or its negation) once, then it must not mention the same variable (or its negation) again. Therefore, both of the following clauses are disallowed: ( a b a ) ( a b ¬ a ) However, your program might well generate similar clauses with different negation patterns. The following are four different clauses: ( a b ) , ( a ¬ b ) , ( ¬ a b ) , ( ¬ a ¬ b )
Part (a) - In general, as your program runs, it will generate larger and larger clauses, with a maximum of v terms per clause, if there were v variables mentioned in the original formula. Calculate the number of possible clauses which have exactly n terms, if the original formula mentioned v variables
Part (b) - Calculate the sum total number of clauses (of various sizes) that your program might generate, if the original formula mentioned v variables.
Part (c) - Suppose the original formula mentioned v variables, but every single clause had two or fewer terms. Calculate the total number of clauses which your program might generate.
Part (d) Based on your result from Part (b), give a very rough (thousands, millions, etc) estimate of how many clauses your program might generate if v = 10, and the clauses in the original formula can be of any size. What would happen if v were to double? How does the count change?

Dealing with discrete Math is an interesting subject because discrete Math equations can be encountered basically anywhere from scheduling of sports games and live shows to education where each person is examined online. It is a reason why discrete math questions that we have collected for you are aimed at solutions that go beyond equations to provide you with the answers that will help you understand the concept. Still, discrete Math equations are explained as well by turning to problems in computer science, programming, software, and cryptography among other interesting subjects like software and mobile apps development.