Need help with Matlab code

An attractive idea is to combine the reliability of the bisection method with the speed of Newton's method. Such a combination is implemented by running the bisection method until we have a narrow interval, and then switch to Newton's method for speed.

Write a script that implements this idea. Start with the bisection method with an interval [a,b] and switch to Newton's method when the current interval in the bisection method is a fraction ‘s’ of the initial interval (when the interval has length s(b−a)). Potential divergence of Newton's method is still an issue, so if the approximate root jumps out of the narrowed interval (where the solution is known to lie), one can switch back to the bisection method. The value of ‘s’ can be set by the user.

Refer to the assignments for the Bisection and Newton’s method for details on those methods. You may utilize any work done on those assignments.

Find the solution of f(x)=cos(2x)+sin(√x)=0 over 2<x<5 using the combined method as follows:

Define a maximum number of iterations (103) allowed and an error tolerance ϵ (10-6) and fraction of the original rang s=0.1.

Pseudo code

Define an initial range of ‘a’ and ‘b’, and convergence ϵ. Define the fraction ‘s’.

If the current range (b-a) is greater than s(b-a) (the original ‘b’ and ‘a’, then use the bisection method to determine new range (new ‘a’ and ‘b’)

If the current range is less than or equal to s(b-a), then use Newton’s method to solve for the root. (a good initial guess is the average of the current range)

If the current guess for Newton’s method goes outside the current range, then use bisection to get a new range.

Once the root has been found (refer to the Newton’s method), output messages as per the Newton’s method.

Habilidades: Algoritmo, Matlab and Mathematica

Veja mais: need help spoofing number, need help php email code, need urgent help fix code, matlab grader solutions, looking for matlab programmer, matlab homework problems, matlab help forum, matlab questions, matlab online, free matlab help, matlab helper, need help fix code, need help fix matlab code, matlab code reynolds number, matlab code separate individual characters number plate, i need existing source code for a job portal to be delivered in 1-2 days, i need help in writing an executive summary, i need help on writing an essay, i need help to have an online platform to sell my designer shirts, i need help to write an article

Acerca do Empregador:
( 5 comentários ) Hyderabad, India

ID do Projeto: #19240607

13 freelancers estão ofertando em média ₹1602 para esse trabalho


Hi. I am very good in Matlab and numerical and sure that will be able to do this within 24 hrs. Regards.

₹2000 INR em 1 dia
(141 Comentários)

Hi my friend, I can help you to develope the algorithm that use bisection and Newton Method to improve the algorithm with Matlab. If it's in my hands I can do it as fast as possible. If you have previous algorithms dev Mais

₹1500 INR em 1 dia
(15 Comentários)

I can do the task. Have a lot of experience in designing algorithms for numerical methods in MATLAB. Familiar with both Newton's and bisection methods

₹1750 INR em 1 dia
(26 Comentários)

Hello, dear friend I am expert in matlab. I have a lot of experiences in many projects. Please discuss for your task. Best regards.

₹1750 INR em 1 dia
(24 Comentários)

hi I have 12+ years experience in MATLAB and an expert in numerical methods. I can complete your task perfectly. I assure quality work in quick time. Let me know if you have any clarifications. regards

₹1500 INR em 1 dia
(3 Comentários)

PhD in electrical engineering (signal processing) from Canada. MSc mathematics (numerical methods). 4 years assistant professor in the mathematics and engineering physics department. 10 years R&D engineer in Toronto Mais

₹1650 INR in 3 dias
(5 Comentários)

Hi "Don't think I cannot work" Zubair Ghafoor is here. I am an Electrical Engineer having four years of experience in the Matlab. I will provide you with the best service of the work. I have already Mais

₹2777 INR in 3 dias
(0 Comentários)

I have completed the code. This is the error vs number of iterations plot of your problem. accept the bid and take the code. [login to view URL]

₹650 INR em 1 dia
(0 Comentários)

Dear project manager, I am Navid graduated from the industrial information engineering school, the department of Politecnico di Milano, in Italy. I have read your project description and I found out that I can effe Mais

₹1750 INR em 1 dia
(0 Comentários)

I have done a very similar project to this on Matlab and will be able to finish this within 2 days. I will also be able to provide comments and any other required technical help.

₹1650 INR in 2 dias
(0 Comentários)

Invaders is a group of independent professional writers and website developer and scholars from everywhere throughout the world. Together, we give best quality aid to secondary school, undergraduate, Masters and Ph.d Mais

₹1300 INR em 1 dia
(0 Comentários)

Hello I am a professional mathematician having 9 years of teaching and project work experience in MATLAB. You have come up with a nice idea which I can surely automate using MATLAB.

₹1250 INR em 1 dia
(0 Comentários)

Hi, Yor Project reminds me of Numerical Method subject during my Master's in Mechanical Engineering at IIT Ropar. I had worked on programming various Numerical methods (including Bisection & Newton Raphson) on MA Mais

₹1300 INR em 1 dia
(0 Comentários)