Unformatted text preview: y 1 = x 7 − 7 x 6 + 21 x 5 − 35 x 4 + 35 x 3 − 21 x 2 + 7 x − 1 y 2 = (x − 1 ) 7 The two expressions are mathematically equivalent because the Frst is the binomial expansion of the second, but behave very differently numerically for the above case where x is almost equal to one, and the values of the expressions should be (and are) almost zero. Plot y 1 versus x . Then, using the same vertical scales as the previous graph, plot y 2 versus x . ±or both plots, use the function axis to simultaneously set the xaxis limit to be the interval 0 . 988 ≤ x ≤ 1 . 012 and the yaxis limit, the interval min (y 1 ) ≤ y ≤ max (y 1 ) . ±inally, plot both y 1 and y 2 together on the same graph using different line colors. [Do you recognize this problem from somewhere?] 4. Endofchapter problems: 2.3 2.6 2.8 2.10 2.12 2.17 1...
View
Full Document
 Spring '11
 Orfandi
 Numerical Analysis, Vector graphics, S. J. Orfanidis

Click to edit the document details