

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


AMSC/CMSC 460 Quiz 7 , Fall 2007
Show all work. You may leave arithmetic expressions in any form that a calculator could evaluate. By putting your name on this paper, you agree to abide by the university’s code of academic integrity in completing the quiz. Use no books, calculators, cellphones, communication with others, scratchpaper, etc.
Name
F (x) =
∫ (^) x
0
g(t)dt = 5.
You may assume that there is a Matlab function g.m that evaluates g(t), that F (1) < 5 and that F (2) > 5. Recall that fzero finds a point x so that f (x) = 0. It takes two arguments: the first defines the function f and the second is a vector of length 2 where f evaluated at the first component differs in sign from f evaluated at the second.
[ x^21 + x^22 − 1 cos(x 2 )
using a starting guess of x 1 = 1/2, x 2 = π/4. Your answer should be either two numbers (the values of x 1 and x 2 after the iteration), or computable formulas that Matlab could use to get these numbers. (Recall that cos(π/4) = sin(π/4) =