assign1 - University of Waterloo CS240 Fall 2010 Assignment...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: University of Waterloo CS240, Fall 2010 Assignment 1 Due Date: Wednesday, October 6, at 5:00pm Please read http://www.student.cs.uwaterloo.ca/ ~ cs240/f10/guidelines.pdf for guidelines on submission. In particular, don’t forget to make a cover page ( https://www. student.cs.uwaterloo.ca/ ~ isg/makeCover?course=cs240 ) and attach it to the front of any written assignment. There are 85 marks available. The assignment will be marked out of 80. Problem 1 [5+5+5=15 marks] Provide a complete proof of the following statements from first principles (i.e., using the original definitions of order notation). a) 12 n 3 + 123 n 2 + 1234 n + 12345 ∈ O ( n 3 ) b) n 3 + 321 n 2 + 54321 ∈ Ω( n 2 ) c) 4 n + 12 ∈ o ( n 2 ) Problem 2 [6 marks] Let f ( n ) and g ( n ) be two positive functions. Prove or disprove the following statement: One of the following relations always holds: • f ( n ) ∈ o ( g ( n )) • f ( n ) ∈ Θ( g ( n )) • f ( n ) ∈ ω ( g ( n )) Problem 3 [6 marks] Prove from definition that min(...
View Full Document

This note was uploaded on 01/14/2012 for the course CS 246 taught by Professor Wormer during the Winter '08 term at Waterloo.

Page1 / 3

assign1 - University of Waterloo CS240 Fall 2010 Assignment...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online