Problem regarding the roots of the scalar equation

Assignment Help Engineering Mathematics
Reference no: EM13961660

All the roots of the scalar equation x-4sin(2x)-3=0, are to be determined with at least 10 accurate digits, (n accurate digits is equivalent to a relative error smaller than 0.5 x 10^-n)

1) Using Matlab, plot f(x)=x-4sin(2x)-3. All the zero crossings should be in the plot. How many are there?

2) Write a program in Matlab that computes the roots using the fixed point iteration x_n+1=-sin(2x_n) +(5/4)x_n -(3/4). Use a stopping criterium that gives an answer with ten correct digits. Find, empirically which of the roots that can be found with the above iteration. Give a theoretical explanation.

3) Write a program using Matlab that computes the roots with Newton's method (with ten correct digits). As a rule of thumb the number of correct digits are doubled every Newton iteration. Can you see this in your results?

4) Now you will compare the convergence properties of the 2 methods. Choose a root where both methods work and use the same initial guess. Plot the error absolute value of ( x_n) -(x^*) as a function of the number of iterates n. Use semilogy to get a logarithmic scale on the y axis. Here x^* is a very accurate approximation, say 15 digits, that you have to compute before you can compute the error. From your figure you should be able to see how much faster Newton's method converges. Another way to quantify how fast a method converged is the rate of convergence. The rate of convergence states how much smaller the error e_n+1 is compared to e_n. Precisely, the rate of convergence is given by the largest number p (often an integer) such that the fraction (e_n+1)/e^p_n converges to a non zero number when n becomes large. Plot (as a function of n) (e_n+1)/e^p_n, with p=1,2,3 for both methods and decide if the methods are linearly, quadratically, or cubically convergent.

5) Write a function, with calling sequence function r=bisect(f,a,b,tol) that finds a root r of f in the interval [a,b] to within tolerance tol, if one exists, and prints an error message otherwise. Use this function for the equation above.

Reference no: EM13961660

Questions Cloud

Construct decision tree to help expando make best decision : Decision Tree Problem: Expando, Inc. is considering the possibility of building an additional factory that would produce a new addition to their product line. Construct a decision tree to help Expando make the best decision.
Several broad instructional goals for educational experience : Submit your instructional unit, which should include three lesson plans: one focused on patient education, one on family education, and one on staff development. Remember, your plans should demonstrate a logical approach to teaching, communicate w..
Discuss the merits of this argument : The rationale for this is that a large hedge fund, on its own, could pose systemic risk to the financial system. Discuss the merits of this argument.
Problem regarding the roots of the scalar equation : All the roots of the scalar equation x-4sin(2x)-3=0, are to be determined with at least 10 accurate digits, (n accurate digits is equivalent to a relative error smaller than 0.5 x 10^-n)
Hand inventory would be negative without production : Prepare a master schedule given this information: It is now the end of week 1; customer orders are 25 for week 2, 16 for week 3, 11 for week 4, 8 for week 5, and 3 for week 6. Use the MPS rule of ordering production when projected on-hand inventory w..
Gap in current research dealing with sexualized adolescent : C.J. Pascoe, the ethnographic research in this study, identifies a gap in current research dealing with sexualized adolescent identities. What is the potential gap he identifies and how does his research fill this gap?
What are the differences between data and information : What are the differences between data and information, and how can they be used for effective planning and decision-making? How does access to data and information impact a manager’s ability to initiate, maintain, and control quality in an organizati..
What is the magnitude of the force of friction f : What is the minimum coeffecient of static friction mu_min required between the ladder and the ground so that the ladder does not slip? Express μmin in terms of m_1, m_2, d, L, and theta.

Reviews

Write a Review

Engineering Mathematics Questions & Answers

  Resting heart rates of american adults

A normal resting heart rate for adults ranges from 60 to 100 beats a minute," reports Dr. Edward Laskowski of the Mayo Clinic. Lower resting heart rates are generally associated with higher cardiovascular fitness.

  What do you think about the limit we are trying to prove

Can you find a number δ so that when | x -0|

  Problems associated with representing probability

Which of the following statements or formulas is correct about conditional probabilities?

  Rate of heat loss by convection to the air

Atmospheric air at 25°C and a velocity of 0.5 m/s flows over a 50- W incandescent bulb whose surface temperature is at 140°C. The bulb may be approximated as a sphere of 50-mm diameter. What is the rate of heat loss by convection to the air?

  Confidence interval be narrower or wider

Prepare a 95% confidence interval for the average grocery bill. Would a 99% confidence interval be narrower or wider than the 95% confidence interval?

  Pounds of brazilian natural and colombian

Packaging costs for both products are $0.25 per pound. Formulate a linear programming model that can be used to determine the pounds of Brazilian Natural and Colombian Mild that will maximize the total contribution to profit.

  What was the senior citizens total percentage savings

What price do senior citizens pay for the same item from the Trim-A Tree Shop - What was the senior citizen's total percentage savings? (percentage change) Give one decimal place on the percent.

  Accept a higher level

Researchers routinely choose an alpha level of 0.05 for testing their hypotheses. What are some experiments for which you might want a lower alpha level (e.g., 0.01)? What are some situations in which you might accept a higher level (e.g., 0.1)?

  The formula c 59 f - 32 where f gt - 45967 expresses the

question the formula c 59 f - 32 where f gt - 459.67 expresses the celsius temperature c as a function of the

  Determine the rate of heat transfer

The components in the duct are cooled by forced air that enters the duct at 30°C and 1 atm at a rate of 0.6 m3/min and leaves at 40°C. Determine the rate of heat transfer from the outer surfaces of the duct to the ambient.

  Simple regression model based problems

Test the null hypothesis that the slope coefficient is 0 versus the alternative hypothesis of greater than 0 using the probability of type 1 error equal to 0,05 and determine the two-sided 95% and 99% confidence intervals. the simple regression m..

  Trapezium rule of integration

Chapter : Trapezium Rule of integrationQuestion : Find the using n= 5 by trapezium rule

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd