Get in touch with us
Send us an e-mail
Question
Newton’s method is a simple algorithm for approximating the roots of an equation. This algorithm works by taking the derivative (slope) of a function at a point along that function, finding where that slope intersects the x-axis, and then repeating for this new point. Repeating this process gets us closer to the root of the actual function. We can describe Newton’s method in general form by the equation:
Write a MATLAB function called newtons Method that accepts two inputs and returns one output. The inputs should be a vector representation of a polynomial and an initial guess for the root. The output should be the root returned by Newton’s Method. Your function should find the root within at least 6 decimal places of accuracy. Your function should also gracefully handle when f’(x) is zero (don’t divide by zero) and the case when there isn’t a root (don’t loop forever).
Check your answer with the polynomial y=3x2+2x-6 to generate output. Your script should perform this calculation in both of the following ways. (1) Call your newtons Method function twice with these two guesses: 1 and -1. (2) Use the roots() function on your polynomial. Print all solutions to 6 decimal places.
Summary
This question belongs to MATLAB software and discusses about application of MATLAB in mathematics to find area of a tea spill using numerical integration.
Answer is in MATLAB format
Download Full Solution
I was stuck with a strategic human resource management assignment when I first took help from HwA. The corporate strategy assignment expert was wonderful and since then I have taken assistance many more times.
I got very solid advice on the primary intervention and assessment of the skin of a burn victim from the experts here on HwA. Since then I always take their help.
I chose civil engineering for my graduate studies because I am fascinated with the concepts of municipal and urban engineering. Since it has been my area of interest from high school and I had done some research on the topic I thought the graduate program would be a breeze. But I was soon proved wrong and found myself struggling from the very first semester. At TheReliableTutor my online civil engineering assignment tutor helped walk me through the different concepts and with in-depth quality research that was missing from my work.
I had to submit 7 pages essays due in 2 days. TheReliableTutor.com made it possible without any stress. The assistance was excellent and I really appreciate your hard work. Very much satisfied with the service and I’ll recommend everyone.
Honestly speaking, I never thought that anybody could have provided me with so accurate solutions to a subject which is so niche by nature. Any assignment expert from USA or UK cannot actually know the details of the Singapore Taxation Law assignments. However, luckily HwA has a dedicated set of assignment experts from Singapore itself, who helped me get good grades all through.
Comments
this is a very good website
I have 50 questions for the same test your page is showing only 28
hi can you please help or guide me to answer my assignments. thanks
hi can anyone help or guide me to my assignments. thanks
This solution is perfect ...thanks
Hello Allison,I love the 2nd image that you did! I also, had never heard of SumoPaint, is something that I will have to exolpre a bit! I understand completely the 52 (or so) youtube videos that you probably watched. Sometimes they have what you want, sometimes they don't! However, it is always satisfying when you are able to produce something that you have taught yourself. Great job!Debra 0 likes
Perfect bank of solution.
great !
thanks for the quick response. the solution looks good. :)
thnx for the answer. it was perfect. just the way i wanted it.
works fine.