Docsity

6 Problems for Homework 6 - Constructing Proofs | CS 1050, Assignments of Computer Science

Toggle sidebar
bg1
))1(1()
8
0
โˆ‘
=
โˆ’+
j
j
a
)23()
8
0
j
j
j
bโˆ’
โˆ‘
=
)2332()
8
0
j
j
j
cโ‹…+โ‹…
โˆ‘
=
)22()
8
0
1j
j
j
dโˆ’
โˆ‘
=
+
โˆ‘โˆ‘
= =
โˆ’
3
1
2
1
)()
i j
jia
k
2
โˆ’(k โˆ’1)
2
[ ]
k=1
n
โˆ‘
= (2k โˆ’1)
k=1
n
โˆ‘
.
CS1050 HW 6
There are 130 points total over the entire homework.
1) [5 points each]
Find the value of each of the following sums.
2) [5 points each]
Compute each of the following double sums.
3) [20 points]
Use the identity 1/(k(k+1) = 1/k โ€“ 1/(k+1) and Exercise 19, p. 237 of Rosen to compute
4) [20 points]
Find (The sum of the first n odd natural numbers.)
โˆ‘โˆ‘
= =
+
3
0
2
0
)23()
i j
jib
โˆ‘โˆ‘
= =
3
1
2
0
)
i j
jc
โˆ‘
=
+
n
k
kk
1
)1(
1
pf2

Partial preview of the text

Download 6 Problems for Homework 6 - Constructing Proofs | CS 1050 and more Assignments Computer Science in PDF only on Docsity!

8 0

=

j j a ) ( 3 2 ) 8 0 j j b j โˆ’

= ) ( 2 3 3 2 ) 8 0 j j c โ‹…^ j + โ‹…

= ) ( 2 2 ) 8 0 1 j j d j โˆ’

=

= =

3 1 2 1

i j a i j k 2 โˆ’(k โˆ’ 1 ) 2 [ ] k= 1 n

โˆ‘ =^ (^2 k^ โˆ’^1 )

k= 1 n

CS1050 HW 6

**There are 130 points total over the entire homework.

  1. [5 points each]** Find the value of each of the following sums. 2) [5 points each] Compute each of the following double sums. 3) [20 points] Use the identity 1/(k(k+1) = 1/k โ€“ 1/(k+1) and Exercise 19, p. 237 of Rosen to compute 4) [20 points] Find (The sum of the first n odd natural numbers.)

= =

3 0 2 0

i j b i j

= = 3 1 2 0

i j c j

= = 2 0 3 0

i j d i j

n k 1 k ( k^1 )

5) [20 points] Show that x^3 is O(x^4 ) but that x^4 is not O (x^3 ). 6) [5 points each] Is it true that x^3 is O(g(x)) if g is the given function? a. g(x) = x^2 b. g(x) = x^3 c. g(x) = x^2 + x^3 d. g(x) = x^2 + x^4 e. g(x) = 3x f. g(x) = x^3 /