The temperature in space given by T(x, y, z)= 200xyz? Find the hottest temperature on a unit sphere centered at the origin. (DO NOT USE LAGRANGE MULTIPLIERS)
Suppose a recurrence relation
an=an−1+20an−2
where a1=9 and a2=189
can be represented in explicit formula, either as:
Formula 1:
an=pxn+qnxn
or
Formula 2:
an=pxn+qyn
where
x
and
y
are roots of the characteristic equation.
**If the explicit formula is in the form of Formula 2, consider p > q.
Determine p and q
Answer:
Suppose you want to encode messages containing only the following characters with their given respective frequencies: B: 55 D: 15 E: 80 G: 5 U: 45
(a) What is the minimum length bit string required to encode each character with a distinct, fixed-length code?
(b) Construct the Huffman Tree for the characters with the given frequencies. (Use the convention that when merging two vertices, the vertex with the largest count goes on the left.)
(c) Use your Huffman Tree to decode the message M = 00101010000011
(d) How many bits are required to encode the characters with the given frequencies using the Huffman Encoding and the fixed-length encoding you found in part (a)? How much storage savings does this represent?
Write each of these statements in the form “if p, then q”
in English. [Hint: Refer to the list of common ways to express
conditional statements provided in this section.]
a) It is necessary to wash the boss’s car to get promoted.
b) Winds from the south imply a spring thaw.
c) A sufficient condition for the warranty to be good is
that you bought the computer less than a year ago.
d) Willy gets caught whenever he cheats.
e) You can access the website only if you pay a subscription
fee.
f ) Getting elected follows from knowing the right people.
g) Carol gets seasick whenever she is on a boat.
A magic bag contains 8 raspberries, 6 watermelons, and 7 bananas. 5 pieces of fruits are taken out from the magic bag randomly without replacement. Find the probability that
(a) 3 raspberries and 2 watermelons are taken
(b) the 5 pieces of fruits taken are all bananas
(c) all of the 5 fruits taken are the same kind
(d) the 5 pieces taken contain at least 4 raspberries.
What is the truth value of ∀xP(x), where P(x) is the statement “x2 < 10” and the domain consists
of the positive integers not exceeding 4?
Show that each of these conditional statements is a tautology by using truth tables.
a) (p ∧ q) → p b) p → (p ∨ q)
c) ¬p → (p → q) d) (p ∧ q) → (p → q)
e) ¬(p → q) → p f) ¬(p → q) → ¬q
Find X in log6 x= ‐2
Show that (p → r) ∧ (q → r) and (p ∨ q) → r are logically equivalent.
Consider the following series 56, 28, 14..
I. Find 17th term.
ii. Find the sum of the series if it continues indefinitely
iii. Find 20th term.