COMPUTER SCIENCE 340 ASSIGNMENT #2
DUE MONDAY MAY 28, 2007 (in class) Use MATLAB to solve question 1 below. The Windows version of MATLAB 7.0.4 is installed, for example, on the machines in ECS 250, 2
CSc 340 Formula Sheet Taylors Theorem f ( x) = f (c) + ( x c) f (c) + + ( x c) 2 ( x c) 3 ( x c) n ( n ) f (c) + f (c) + L + f (c ) 2! 3! n!
( x c) n +1 ( n +1) f ( ) (n + 1)!
The following functions
COMPUTER SCIENCE 340
NOTES ON THE FINAL EXAM
AUGUST 2007
Students are allowed to use the CSc 340 Formula Sheet (a sample is posted on the course
web site). No other notes or books are allowed.
Student
SAMPLE CSc 340 EXAM QUESTIONS WITH SOLUTIONS: part 1
1.
For what values of the real variable x are the following expressions subject to
subtractive cancellation?
How should these functions be evaluate
CSc 340 Formula Sheet Taylors Theorem f ( x) = f (c) + ( x c) f (c) + + ( x c) 2 ( x c) 3 ( x c) n ( n ) f (c) + f (c) + L + f (c ) 2! 3! n!
( x c) n +1 ( n +1) f ( ) (n + 1)!
The following functions