EECS 1019 Study Guide - Final Guide: Loop Invariant, Bijection, Rational Number

298 views3 pages
plummouse698 and 38740 others unlocked
EECS 1019 Full Course Notes
8
EECS 1019 Full Course Notes
Verified Note
8 documents

Document Summary

Instructor: s. datta: (2 points) evaluate the in nite geometric series. Note that the left hand side is 0. 99 . Use the answer above to ll in the blank below. Solution: this is a geometric series with a = 0. 9 and r = 0. 1. 1 0. 1 = 1: (2 points) express the following statement in predicate logic: given any 2 distinct rational numbers, there exists a rational number between them in value . Solution: make the domain q, the set of rational numbers. X y[(x (cid:54)= y) ( z(x < z < y) (x > z > y))]: (2 points) prove that if f : z+ z, f (n) = n2 100n then f (n) (n2). Solution: note that n2 100n n2/2 if n 200. So we use n0 = 200, c = 0. 5 in the de nition of (n2) and thus f (n) (n2): (2 points) what is the negation of x yp (x) q(y).

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers