solve the following recurrence relations
a. π(π) = π( π/4) + π( π/2 ) + π^2
b. T(n) = T(n/5) + T(4n/5) + n
c. π(π) = 3π( n/4 ) + ππ^2Β
f. π(π) = (π/πβ5) * π(π β 1) + 1
g. π(π) = π(log π) + log π
h. π(π) = π (π^ 1/ 4) + 1
i. π(π) = π + 7 βπ β π(βπ)
j. π(π) = π ( 3π/4 ) + 1/root(n)
State TRUE or FALSE justifying your answer with proper reason.
a. 2π^2 + 1 = π(π^2 )
b. π^2 (1 + βπ) = π(π^2 )
c. π^2 (1 + βπ) = π(π^2 log π)
d. 3π^2 + βπ = π(π + πβπ + βπ)
e. βπ log π = π(π)
The following formulas have been abbreviated based on the common abbreviation rules. Follow the steps below and translate the formulas into good English.
Β·Β Β Β Β Β Β Β Step 1: Re-add the omitted brackets.
Β·Β Β Β Β Β Β Β Step 2: If necessary, convert them into some other logically equivalent formula
so as to make it more readable. Write out the rule(s) you use for conversion.
Β·Β Β Β Β Β Β Β Step 3: Translate the formulas into `good' English. Try to make your translation as brief/understandable as possible. (For instance, `John and Bill are coming' is better than `John is coming and Bill is coming.')
p: John wants to come to the class.
q: John will come to the class today.
r: John audits the class.
s: John is enrolled in the class.
Hint:
`No matter whether John is going or not, I'm going.' is the translation for (j Γ i) ^ (βj Γ i),
in which j = John is going, i = I'm going.)
Let A, B, C, D denote, respectively, art, biology, chemistry, and drama courses.
Find the number N of students in a dormitory given the data:
12 take A, 5 takeAand B, 4 takeB and D, 2 take B, C,D,
20 take B, 7 takeAand C, 3 takeC and D, 3 take A, C,D,
20 take C, 4 takeAand D, 3 take A, B,C, 2 take all four,
8 take D, 16 takeB and C, 2 take A, B, D, 71 take none.
Draw a simple, undirected graph yourself, the vertices are connected with each other including 8 vertices and 14 edges. Find the shortest path from two arbitrary vertices:β
a) The weight of each edge is 1.β
b) Self-weighting for edges
Let a and b be two cardinal numbers. Modify Cantorβs definition of a < b to define a β€ b. (Hint: Examine what happens if you drop condition (a) from Cantorβs definition of a < b.) 2. Prove that a β€ a. 3. Prove that if a β€ b and b β€ c, then a β€ c. 4. Do you think that a β€ b and b β€ a imply
a = b? Explain your reasoning. (Hint: This is not as trivial as it might look.)
Obtain the Conjunctive Normal Form of (x^y) V (-x^y)
The argument is pβ~q,~rβp,q|βr in true table in mathematical foundations of computer science
Let R={(1,2),(1,4),(2,1),(2,4),(3,2),(3,4)}
R={(1,2),(1,4),(2,1),(2,4),(3,2),(3,4)}
is a relation onΒ set A={1,2,3,4}
A={1,2,3,4}
Suppose aΒ Rn b
means that there is a path of length n from a
to b
Which of the elements are R3?
Suppose there are 10 male and 6 female professors to teach Discrete mathematics. In how
many ways a student can choose Discrete mathematics professor.