As we saw in Exercises 1.6.7 and 1.6.11, through any three noncollinear points in R2 there pass a unique parabola y = ax2 + bx + c and a unique circle x2 + y2 + ax + by + c = 0. (In the case of the parabola, we must also assume that no two of the points lie on a vertical line.) Given three such points (x1, y1), (x2, y2), and (x3, y3), show that the equation of the parabola and circle are, respectively, det 1 x x2 y 1 x1 x2 1 y1 1 x2 x2 2 y2 1 x3 x2 3 y3 = 0 and det 1 x y x 2 + y2 1 x1 y1 x2 1 + y2 1 1 x2 y2 x2 2 + y2 2 1 x3 y3 x2 3 + y2 3 = 0.
Mahjabin Haque Homework 01 Algorithm Analysis (Chapter 2) Due 2016/06/02 at 5:00 PM Answer the following questions from the textbook: 2.1, 2.7abc, 2.8bcde, 2.11abcd, 2.12abcd, 2.14, 2.25abcd, 2.31 2.1 Answer: Growth rate order: 2/N, 37, N , N, N log log N, N log N, N log (N ), N log N, N , N , N 2 1.5 2 2 3 n/2 N log N, N , 2 , 2 N log N and N log N are the two functions that grow at the same rate. 2.7 Answer: a. i. O(N) 2 ii. O(N ) iii. O(N ) iv. O(N ) 5 v