Give an asymptotic upper bound

Assignment Help Engineering Mathematics
Reference no: EM132136341

Assignment -

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?)

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(φ).

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: EM132136341

Questions Cloud

Transportation industry at industry-organizational level : What has been the financial impact of the transportation industry at an industry and organizational level?
Systems development lifecycle : Evaluate the processes that are involved in a systems development lifecycle (SDLC) and how the processes relate to each other.
Conduct a competitor analysis : Determine the two or three areas in which your client has a competitive advantage relative to competitors. Explain how the advantage(s) represent
Knowledge system requires research : Identify stakeholder training requirements and needs from a knowledge system requires research.
Give an asymptotic upper bound : COMP 9020 - Assignment - Let trec(n, k) be the running time for chooseRec(n, k), Give an asymptotic upper bound for Trec(n). Justify your answer
Describe how would you decide if the best option : Need help answering this, The decision to globalize operations is very complex and not without risks. Chose a company that has not yet globalized and answer the
Why does out of date stock need to be disposed of : Why does out of date stock need to be disposed of? What records need to be kept when disposing of out of date stock? Where should these records be stored?
What are the national quality control techniques : What are the national quality control techniques? What are national quality control procedures?
Determine the number of performance obligations : Determine the number of performance obligations that exist in the following scenarios. Tablet Tailors sells tablet PCs combined with Internet service.

Reviews

len2136341

10/9/2018 10:33:25 PM

Note: 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.

len2136341

10/9/2018 10:33:20 PM

Advice on how to do the assignment - All submitted work must be done individually without consulting someone else’s solutions in accordance with the University’s “Academic Dishonesty and Plagiarism” policies. Assignments are to be submitted via WebCMS (or give) as a single pdf (max size 2Mb). In Linux, the following command pdfjoin --outfile output.pdf input1.pdf input2.pdf ... can be used to combine multiple pdf files. The command convert -density 150x150 -compress jpeg input.pdf output.pdf can be used to reduce the filesize of a pdf (change 150 to reduce/improve quality/filesize). Please ensure your files are legible before submitting.

len2136341

10/9/2018 10:33:15 PM

Be careful with giving multiple or alternative answers. If you give multiple answers, then we will give you marks only for ”your worst answer”, as this indicates how well you understood the question. Some of the questions are very easy (with the help of the lecture notes or book). You can use the material presented in the lecture or book (without proving it). You do not need to write more than necessary (see comment above). When giving answers to questions, we always would like you to prove/explain/motivate your answers. If you use further resources (books, scientific papers, the internet,...) to formulate your answers, then add references to your sources.

Write a Review

Engineering Mathematics Questions & Answers

  Determine equation of curve and coefficient of determination

A mechanized "swinging hammer" is used to drive bolts into a wall. It is known that at the point of contact, the energy dissipated as heat is proportional.

  Give example of a linear function and then sketch its graph

Sketch the graphs of the linear functions 1 to 8 below, identifying the relevant intercepts on the axes. Assume that variables represented by letters.

  Properties of orthogonal functions

In this lab, you will investigate the properties of orthogonal functions and the Fourier series. This is a long lab, so plan accordingly.

  Develop a linear optimization model to maximize profit

Jaycee's department store chain is planning to open a new store. It needs to decide how to allocate the 100,000 square feet of available floor space among seven departments.

  What monthly interest rate is being charged

In 2014, the average debt for college student loans is $28,700. This amounts to a $330 monthly payment for a "standard" loan repayment plan over 10 years.

  Find the probability that a strike lasts less than one day

The length of time until a strike is settled is distributed uniformly from 0 to 10.5 days. (See the previous problem for an introduction to the uniform density.

  Complete table by expressing each year real gdp per capita

The accompanying table shows data from the Penn World Table, Version 8.0, for real GDP per capita in 2005 U.S. dollars for Argentina, Ghana, South Korea.

  What is the value of z if the principal of the loan is given

The Dominion Freight Company has invested $50,000 in a new sorting machine that is expected to produce a return of $7,500 per year for the next 10 years.

  Develop system equations for the steady-state probabilities

Develop the system equations for the steady-state probabilities for a single operator servicing three machines. What type of difficulties will have to be.

  Discuss the linear integer programming model

Four proposals are under consideration by your company. Proposals A and C are mutually exclusive; proposals B and D are mutually exclusive.

  Think about a research question

Develop a Research Question: In your area of interest, think about a research question that could be answered using a hypothesis test. Write down this research question, and explain what your research is trying to investigate.

  Firm weighted average cost of capital

The U.S. Treasury bill is yielding 2.8 percent and the return on the market is 11.2 percent. The corporate tax rate is 38 percent. What is the firm's weighted average cost of capital?

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