Question

1. Consider the function: f:R R defined by f()2z +5 cos(3z). (a) Compute the values f (0) and f(1). Does f have a root in the interval [0, 1]? (b) Apply the first three steps of the bisection method for f by hand. You can use a pocket calculator for computations. What is the absolute error for the solution at the end? (c) Use Matlab to approximate the root with an absolute error of e0.5-10-6. (d) Compute the values f(0) and f(2). Can you apply the bisection method on [0, 2]? With all the information learned so far about f, what can you say about the number of roots in the interval [0, 2]? please dont copy from an other expert answer

0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
1. Consider the function: f:R R defined by f()2z +5 cos(3z). (a) Compute the values f...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • please show answer in full with explanation, also show matlab 1. Consider the function f(x)2.753 +18r2 21 12 a) Plot...

    please show answer in full with explanation, also show matlab 1. Consider the function f(x)2.753 +18r2 21 12 a) Plot the graph of f(x) in MATLAB and find all the roots of the function f(x) graphically. Provide the code and the plot you obtained. b) Compute by hand the first root of the function with the bisection method, on the interval -1; 0) for a stopping criterion of 1% c) How many iterations on the interval -1, 0 are needed...

  • i need the answer to be on a MatLab window 1. Consider the following equation, which...

    i need the answer to be on a MatLab window 1. Consider the following equation, which represents the concentration (c, in mg/ml) of a drug in the bloodstream over time (t, in seconds). Assume we are interested in a concentration of c2 mg/ml C3te-0.4t A. Estimate the times at which the concentration is 2 mg/ml using a graphical method Be sure to show your plot(s). Hint: There are 2 real solutions B. Use MATLAB to apply the secant method (e.g....

  • 1. This question concerns finding the roots of the scalar non-linear function f(x) = r2-1-sinx (1...

    1. This question concerns finding the roots of the scalar non-linear function f(x) = r2-1-sinx (1 mark) (b) Apply two iterations of the bisection method to f(x) 0 to find the positive root. (3 marks) (c) Apply two iterations of the Newton-Raphson method to find the positive root. Choose (3 marks) (d) Use the Newton-Raphson method and Matlab to find the positive root to 15 significant (3 marks) (a) Use Matlab to obtain a graph of the function that shows...

  • In MATLAB please Consider the nonlinear function: y = f(x) = x3 cos x a. Plot...

    In MATLAB please Consider the nonlinear function: y = f(x) = x3 cos x a. Plot y as a function of x as x is varied between -67 and 67. In this plot mark all the locations of x where y = 0. Make sure to get all the roots in this range. You may need to zoom in to some areas of the plot. These locations are some of the roots of the above equation. b. Use the fzero...

  • 2. The Colebrook equation for the Darcy friction factor, f, is written as: ./1/f + 0.86 In(y +2.51 3.7 NRevf For a...

    2. The Colebrook equation for the Darcy friction factor, f, is written as: ./1/f + 0.86 In(y +2.51 3.7 NRevf For a Reynolds number (NRe) of 10% and a roughness factor, E/D, of 10, a) Show that there exists a root in the interval 0.001 0.1]. (1 mark) b) Find the number of iterations of the bisection method required to get a true absolute error of 10. (3 marks) c) Show two full iterations of the bisection method for this...

  • Using MATLAB or FreeMat ---------------------------- Bisection Method and Accuracy of Rootfinding Consider the function f(0) =...

    Using MATLAB or FreeMat ---------------------------- Bisection Method and Accuracy of Rootfinding Consider the function f(0) = 3 cos 2r cos 4-2 cos Garcos 3r - 6 cos 2r sin 2r-5.03r +5/2. This function has exactly one root in the interval <I<1. Your assignment is to find this root accurately to 10 decimal places, if possible. Use MATLAB, which does all calculations in double precision, equivalent to about 16 decimal digits. You should use the Bisection Method as described below to...

  • Lastname, Firstname MECH 1314 Homework #12-Bisection Due: 4/22/2019 Instructions: Submit your scr...

    Lastname, Firstname MECH 1314 Homework #12-Bisection Due: 4/22/2019 Instructions: Submit your script in a file named hwk12.m to the dropbox before 11:59 pm on the due date 20 pts The "root" of an equation, y f(x), is a value of x for which y has a value of zero and it is often "the answer" for a practical engineering problem. For example, ion Algebra you learned the Quadratic Equation, an equation that allows you to compute the value of each...

  • need a matlab script to show this 1. Apply the bisection routine bisect to find the...

    need a matlab script to show this 1. Apply the bisection routine bisect to find the root of the function f(x)= -1.1 starting from the interval [0,21 (that is, a 0 and b 2), with atol 1.c-8. Gopy 3.6. Exercises 59 required? Does the iteration count match the expectations. (a) How many iterations are based on our convergence analysis? (b) What is the resulting absolute error? Could this absolute error he predicted by our con- vergence analysis? 1. Apply the...

  • Write a Matlab function for: 1. Root Finding: Calculate the root of the equation f(x)=x^3 −5x^2...

    Write a Matlab function for: 1. Root Finding: Calculate the root of the equation f(x)=x^3 −5x^2 +3x−7 Calculate the accuracy of the solution to 1 × 10−10. Find the number of iterations required to achieve this accuracy. Compute the root of the equation with the bisection method. Your program should output the following lines: • Bisection Method: Method converged to root X after Y iterations with a relative error of Z.

  • Questions: 1. Write a MATLAB program to find all the roots of a given, twice continuously differe...

    Questions: 1. Write a MATLAB program to find all the roots of a given, twice continuously differentiable, function f E C2[a, b]. Your program should first probe the function f(x) on the given interval to find out where it changes sign. (Thus, the program has, in addition to f itself, four other input arguments: a, b, the number nprobe of equidistant values between a and b at which f is probed, and a tolerance tol.) For each subinterval [ai,b] over...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT