
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

H(s,t) = the number of positions where s and t disagree (Hamming Distance Function), d(s) = the number of 1’s in string s (Density Function), L(s) = the number of characters in string s (Length Function). Calculate: (a) H(10110111,11001101) (b) d(10100011) (c) L(θ)
6. Rewrite using the change of variables j = k + 1 7. Consider the sequence: s (^) i = si-1 + s (^) i-2 + si-3 with s 0 = 1, s 1 = 2, and s 2 = 4. Use the Strong Form of Mathematical Induction to prove that si < 3i, i > 3. 8. For any set A, let n(A) denote the cardinality of A. Fill in the blanks below with one of < , <, = , >, or > , to make the statement correct.
(a) If f:A → B is a one-to-one function then n(A) ___ n(B).
(b) If f:A → B is an onto function then n(A) ___ n(B).
(c) If f:A → B is a bijective function then n(A) ___ n(B).
(d) If f:A → B is a onto function then f(A) ___ B.
9. Let f = {(1,4),(2,3),(3,1),(4,5),(6,7)} and g = {(1,5),(3,7),(4,9),(5,11),(7,13)} be functions.
(a) The domain of f = ___ (b) The image of g = ____ (c) g°f = ____
10. Let A = {1,2,3,4,5,6,7,8,9,10} and R be the relation of congruence modulo 3 on A; that is, R = {(x,y) | x,y ∈ A and 3|(x - y)}. (a) Draw the directed graph of R. (b) Describe the partition induced on A by the equivalence relation R.
1 k + 1
------------ 1 k ⎝⎛ –^ ---⎠⎞ k = 1
12
( 133 – k ) k = 1
225
i
i = 0
n
= -------------------------------
Docsity.com