Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

14) A number z is called a zero of a function f if and only if f(a) 0. One way to find zeros is to

image text in transcribed
14) A number z is called a zero of a function f if and only if f(a) 0. One way to find zeros is to sketch the graph of the function. For example, consider the function f(x) ar3- 4z2 -11a +30. The following code could be used for this purpose: f-0(x) x.3-4*x.~2-11*x+30; x-linspace (-10,10,200); y-f (x); plot (x,y) axis ([-10,10,-100,100]); grid on; As you can see, the zeros are evident from the plot. You can also double-check that the zeros are indeed zeros. Suppose that the zeros are -3, 2,5. Then type: x-I-3,2,5]; f (x) (a) In MATLAB check that z1 and z 3 are zeros of the function f(r)2-3 by plotting the function and identifying the zero crossings. (Plotting can be done as explained above, or an even easier way is to use the command ezplot.) (b) Find the zeros of f(x)292 132. (c) Use the MATLAB command fzero to find the zeros for the functions in (a) and (b). Does fzero give you a more accurate result than the graphical method? (d) Use the command fzero to solve the following equation 5- 2for z. (e) Use the fzero command to find the zeros of the functions below on the given domain: f(x) = 9-4x-x2 on [-7,3] f(x)r-a-8 on [-3,4]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases In Action

Authors: Dave Bechberger, Josh Perryman

1st Edition

1617296376, 978-1617296376

More Books

Students also viewed these Databases questions

Question

18. If you have power, then people will dislike and fear you.

Answered: 1 week ago