Consider the function given by f(x) = = x cos x - sin x (a) Find...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider the function given by f(x) = = x cos x - sin² x (a) Find all of its roots on the interval [0,5] using Newton's method with tolerance 10-¹0. You may need to graph the function on the given interval in order to make sure that all roots are taken into account. (b) Recall the discussion in class about the loglog plots. Relevant slides can be found in BlackBoard. In summary the order of convergence condition becomes a line after taking logarithms: In(n+1)= a ln(xnx) + In(X) where a is the order of convergence and the asymptotic constant. Use the root(s) you found in (a) for x. For each of your roots provide a well-labeled graph showing the data points and this best fitting line. Use these plots to explain the rate of convergence for each root. Does your rate change based on the selection of your initial guess? Please elaborate and show plots to justify your findings. (c) As explained in class it is not easy to determine how far away from a root the ini- tial guess o has to be so convergence is achieved. Consider the interval [0,5] and select starting points ro in 0.1 increments, i.e., o = 0, 0.1, 0.2,... Write a code that will show where the Newton iterates for each of these ro's converge in less than 10 iterations with tolerance 10-10. You just need to present your results on a table that contains the co values and the corresponding root value that was found. Consider the function given by f(x) = = x cos x - sin² x (a) Find all of its roots on the interval [0,5] using Newton's method with tolerance 10-¹0. You may need to graph the function on the given interval in order to make sure that all roots are taken into account. (b) Recall the discussion in class about the loglog plots. Relevant slides can be found in BlackBoard. In summary the order of convergence condition becomes a line after taking logarithms: In(n+1)= a ln(xnx) + In(X) where a is the order of convergence and the asymptotic constant. Use the root(s) you found in (a) for x. For each of your roots provide a well-labeled graph showing the data points and this best fitting line. Use these plots to explain the rate of convergence for each root. Does your rate change based on the selection of your initial guess? Please elaborate and show plots to justify your findings. (c) As explained in class it is not easy to determine how far away from a root the ini- tial guess o has to be so convergence is achieved. Consider the interval [0,5] and select starting points ro in 0.1 increments, i.e., o = 0, 0.1, 0.2,... Write a code that will show where the Newton iterates for each of these ro's converge in less than 10 iterations with tolerance 10-10. You just need to present your results on a table that contains the co values and the corresponding root value that was found.
Expert Answer:
Related Book For
Corporate Finance
ISBN: 978-0077861759
10th edition
Authors: Stephen Ross, Randolph Westerfield, Jeffrey Jaffe
Posted Date:
Students also viewed these accounting questions
-
You may need to learn how to open a data file from the text CD or download one from the Web for use with the software for your course. Do this for the FL student survey data file on the text CD, from...
-
Check whether the function given by the formula: Meets the two criteria for serving as the probability distribution of a discrete random variable It satisfies the following conditions: a. b. f(x) x +...
-
You may need to use the appropriate appendix table or technology to answer this question. A report states that adults 18- to 24- years-old send and recelve 128 texts every day. Suppose we take a...
-
Explain why a safety net can save the life of a circus performer.
-
1. Our theory depends on being given the population standard deviation. This number is normally not available. Speculate on what we should do. 2. The effect of the size n of samples on the standard...
-
a. On the same diagram, sketch the graphs y = 2x and y =|1/2 x - 2|. b. Solve the equation - 2x = |1/2 x - 2|.
-
The inner surface of a plain brick wall is at 80C and the outer surface is at 30C. Calculate the rate of heat transfer per m 2 of the surface area of the wall, which is 280 mm thick. The thermal...
-
Consider internal control over receivables collections. Requirement 1. What job must be withheld from a companys credit department in order to safeguard its cash? If the credit department does...
-
write a assignment as a business report to your manager using the Accounting Information System's Guidelines and Identifying Risks, Risk Statement, Classifications of Internal Controls, and the...
-
Start with the partial model in the file Ch21 P08 Build a Model.xlsx on the textbook's Web site. Kasperov Corporation has an unlevered cost of equity of 12% and is taxed at a 40% rate. The 4-year...
-
Question 21 For the T Flip-flop timing diagram below, determine the value of the flip-flop output Q for each labeled point in time (A-B) assuming that Q is zero at time 0 and the clock is positive...
-
Pagle Corporation established a subsidiary to enter into a new line of business considered to be substantially more risky than Pagles current business. Pagle transferred the following assets and...
-
Find the monthly payment for the loans in Problems 33-44. Finance \(\$ 859,000\) for an apartment complex with a \(3.2 \%\) 20-year loan
-
Write up a two-column cash book for a pine furniture shop from the following details, and balance it off as at the end of the month: 2012 May 1 Started in business with capital in cash 5,000. 2 Paid...
-
Evaluate each expression in Problems 3-32. \(\left(\begin{array}{l}7 \\ 2\end{array}ight)\)
-
The following extracts relating to suppliers and accounts payable are taken from the annual report of the John Lewis Partnership. Customers, products and suppliers (Extract from Business Review, p....
-
A house is for sale for $250,000. You have a choice of two 20-year mortgage loans with monthly payments: (1) if you make a down payment of $25,000, you can obtain a loan with a 6% rate of interest or...
-
How can a promoter avoid personal liability for pre-incorporation contracts?
-
In Problem 18, suppose Raines Umbrella Corp. paid out $ 34,000 in cash dividends. Is this possible? If spending on net fixed assets and net working capital was zero, and if no new stock was issued...
-
You have recently been hired by Goff Computer, Inc. (GCI), in the finance area. GCI was founded eight years ago by Chris Goff and currently operates 74 stores in the Southeast. GCI is privately owned...
-
Insurance, whether purchased by a corporation or an individual, is in essence an option. What type of option is an insurance policy?
-
Describe a situation in which you think an employer could use organizational behaviour modification and an employee recognition program to improve or correct employee behaviour. Can you anticipate...
-
A supervisor in a textile factory observes that one of her employees is violating a safety rule that could result in severe injury. What combination of reinforcement, punishment, and extinction could...
-
Describe a job in which you think an employee recognition program might be an effective means for changing and improving employee behaviour. Explain how you would design the program and how you would...
Study smarter with the SolutionInn App