What is flip

Assignment Help Mathematics
Reference no: EM132136441

Assignment -

Question 1. Let (T, ∧, ∨,', 0, 1) be a Boolean Algebra.

Define ∗ : T × T → T and o : T × T → T as follows:

x ∗ y := (x ∨ y)' x o y := (x ∧ y)'

(a) Show, using the laws of Boolean Algebra, how to define x ∗ y using only x, y, o and parentheses.

(b) Show, using the laws of Boolean Algebra, how to define x o y using only x, y, ∗ and parentheses.

Define R ⊆ T × T as follows: (x, y) ∈ R if, and only if, (x ∧ y) ∨ (x' ∧ y') = 1

(c) Show, using the laws of Boolean Algebra, that R is an equivalence relation. Hint: You may want to use the observation that if A = B = 1 then A ∧ B ∧ C = A ∧ B implies C = 1 (why?)

Question 2. Let P F denote the set of well-formed propositional formulas made up of propositional variables, T, ⊥, and the connectives ¬, ∧, and ∨. Recall from Quiz 7 the definitions of dual and flip as functions from PF to PF:

  • dual(p) = p
  • flip(p) = ¬p
  • dual(T) = ⊥; dual(⊥) = T
  • flip(T) = T; flip(⊥) = ⊥
  • dual(¬φ) = ¬dual(φ)
  • flip(¬φ) = ¬flip(φ)
  • dual(φ ∧ ψ) = dual(φ) ∨ dual(ψ)
  • flip(φ ∧ ψ) = flip(φ) ∧ flip(ψ)
  • dual(φ ∨ ψ) = dual(φ) ∧ dual(ψ)
  • flip(φ ∨ ψ) = flip(φ) ∨ flip(ψ)

 (a) For the formula φ = p ∨ (q ∧ ¬r):

(i) What is dual(φ)?

(ii) What is flip(φ)?

(b) Prove that for all φ ∈ PF: flip(φ) is logically equivalent to ¬dual(φ).

Question 3. Let P(n) be the proposition that: for all k, with 1 ≤ k ≤ n,

1743_figure.png

(a) Prove that P(n) holds for all n ≥ 1. (Note: it is possible to do this without using induction)

We can compute 1858_figure2.pngfrom the formula given in lectures, however this can often require computing unnecessarily large numbers. For example,1543_figure3.png= 253338471349988640 which can be expressed as a 64-bit integer, but 100! is larger than a 512-bit integer. We can, however, make use of the equation above to compute 1858_figure2.pngmore efficiently. Here are two algorithms for doing this:

613_figure4.png

Let trec(n, k) be the running time for chooseRec(n, k), and let titer(n) be the running time for chooseIter(n, k). Let Trec(n) = max0≤k≤n trec(n, k) and Titer(n) = max0≤k≤n titer(n, k) (so Trec(n) ≥ trec(n, k) for all k, and likewise for Titer(n)).

(b) Give an asymptotic upper bound for Trec(n). Justify your answer.

(c) Give an asymptotic upper bound for Titer(n). Justify your answer.

Reference no: EM132136441

Questions Cloud

Promote a habit of reviewing business related articles : The goal of this assignment is to promote a habit of reviewing business related articles to foster awareness of current trends and topics facing businesses.
List what might be done to provide fault tolerance : Search for information on system and equipment failure on your favorite search engine. List what might be done to provide fault tolerance for a single system.
Prepare a business plan with financial projections : Prepare a business plan for a joint venture between physician groups and a healthcare system to provide outpatient services.
Establish a sample hardware asset list for the company : You are part of a disaster recovery team charged with completing the asset inventory at a small business that primarily sells a small selection of products.
What is flip : Show using the laws of Boolean Algebra, that R is an equivalence relation - compute from the formula given in lectures, however this can often
Identify how you plan to stay on track : You have been selected to be the project manager (for a project of your choice). The project that you decide to use should meet all the key criteria.
Research a legal system of a foreign country : LAWS20058 - AUSTRALIAN COMMERCIAL LAW ASSESSMENT - Research a legal system of a foreign country and explain what penalties can be imposed by a court
Review offsite versus on site in detail : Your organization has approximately IOTB of data, and you need to decide if your organization should have on-site or offsite tape storage.
Develop an outline of the project plan for the testing : As part of the disaster recovery planning at a medium-sized business you have been asked to develop a project plan to test the backups of production systems.

Reviews

urv2136441

11/23/2018 12:57:28 AM

love it. keep going. It was on time and completed, I am very happy with that. I would prefer your service again. definitely gonna using service in future. thanks you so much guys.

len2136441

10/9/2018 11:58:15 PM

In your assignment, how you arrived at your solution is as important (if not more so) than the solution itself and will be assessed accordingly. There may be more than one way to find a solution, and your approach should contain enough detail to justify its correctness. Lecture content can be assumed to be common knowledge.

Write a Review

Mathematics Questions & Answers

  Find the fluid force on the vertical side of the tank

Find the fluid force on the vertical side of the tank, where the dimensions are given in feet. Assume that the tank is full of water.

  Suppose you deposit 2000 for 5 years at a rate of 8

suppose you deposit 2000 for 5 years at a rate of 8. calculate the return a if the bank compounds anually n1 round

  Find the dimensions of the aquarium

The base of an aquarium with volume V = 440 is made of slate and the sides are made of glass. If slate costs five times as much (per unit area) as glass, find the dimensions of the aquarium that minimize the cost of the materials.

  Discuss the dirac theorem

Which of the graphs in Figure satisfy the hypotheses of Dirac's Theorem? of Ore's Theorem? Which have Hamiltonian cycles?

  Mass of the gasoline in the tank

A cylindrical tank with a radius of 12 ft and a height of 32 ft is filled with gasoline. Given a density of 670 kg/m3 determine the mass (lbm) of the gasoline in the tank.

  Find an equation of the tangent plane at p

Suppose you need to know an equation of the tangent plane to a surface S at the point P(2, 1, 3). You don't have an equation for S but you know that the curves. Find an equation of the tangent plane at P.

  Marvin currently has a balance of 1192 in an account he has

marvin currently has a balance of 1192 in an account he has held for 14 years. he opened the account with an initial

  How many such numbers are there

A classy social security number? Use the digits 1 through 9 once only to form a nine-digit number such that the first (leftmost) 8 digits form a number divisible by 8, the first 7 digits form a number divisible by 7, and so on. How many such numbe..

  Mutations in the promoter region of the laci gene

Researchers have identified mutations in the promoter region of the lacI gene that lead to decreased production of the lacI repressor protein.

  Find the fifth maclaurin polynomial for given function

Find the centroid of the region bounded by 3x - 10y = -56, x - 10y = 28, x = -2, and x = 8. You should enter the coordinates of your answer either as decimals or fractions. Find the fifth Maclaurin polynomial for f(x) = x3 cos (Sx).

  Determining finite value

A rational number r = p/q, where p, q are in Z, is said to be properly reduced if p and q (q > 0) have no common integral factor other than +1 or -1. Define the function f as follows;

  Calculate the marginal after-tax winnings

Calculate the marginal after-tax winnings - find that jackpot size (to the nearest dollar) and explain what is significant (in terms of winnings) about that jackpot size.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd