Solving Equations Using Numerical Methods
Extracts from this essay...
ï»¿Matt Coles Centre Number â 40120 Candidate Number - 3135 Solving Equations Using Numerical Methods For my coursework, I am going to solve equations that cannot be solved analytically. This is when the equation would have been solved by using the quadratic formula, completing the square or by factorising it. The equations used will be solved numerically and there are three methods that I will be using: 1. The Change of Sign method 2. The Newton-Raphson method 3. The Rearrangement method Method 1: The Change of Sign Method The first method that I will be using is the Change of Sign method. The equation that I will be solving is y=x3+3x2-2x-1. To do this, I will be drawing the function of f(x)= x3+3x2-2x-1. Root Î± Root Î² Root Î³ To solve this equation using the Change of Sign method, I will be using the Decimal Search on Microsoft Excel.Firstly, I started by entering the equation into Autograph to get a sketch of the graph.
After that, I moved in closer, entering -3.5 to -3.49 (in 0.001âs) with the formula in the column next to it. This gave me the answer as to where the change of sign was â between -3.491 and -3.49. Finally, I entered the numbers between -3.491 and -3.49 (in 0.0001âs) into Excel. This showed me that the change of sign was between -3.4909 and -3.4908. This is now up to 5 sig.fig. meaning that I have found the answer with the error bounds on the left hand side. The error bounds show that this works as there is a change of sign. FAILURES This method fails in two ways â when there is a repeated root or there are two roots within consecutive integers. To show how this method fails, I am using the equation x3+x2-5x+3=0. To do this, I will be drawing the function of f(x)= x3+x2-5x+3.
and its derivative, fâ(x) shown. Root Î² On the left is the equation that shows the sliding tangent of the Newton-Raphson Method in a graphical form for Root Î². The red line is the function of f(x)=x3-7x2+x+3 and the blue lines are the sliding tangents. The third root I have chosen to use is Root Î³. Below is the Excel spread sheet with f(xn) and its derivative, fâ(x) shown. Root Î³ On the left is the equation that shows the sliding tangent of the Newton-Raphson Method in a graphical form for Root y. The red line is the function of f(x)=x3-7x2+x+3 and the blue lines are the sliding tangents. Root Î³ = 2.4023 (5 sig.fig.).This root has error bounds FAILURES y=2x3-3x2-6x+4 Root Î³ Method 3: The Rearrangement Method The third method that I am using is the Rearrangement Method. For this method, I will be using a different function to the other two. The equation I will be using for the Rearrangement method is y=x3+2x2-2x-2. This means that the function I will be using is f(x)= x3+2x2-2x-2.
Found what you're looking for?
- Start learning 29% faster today
- Over 150,000 essays available
- Just £6.99 a month
- Over 180,000 student essays
- Every subject and level covered
- Thousands of essays marked by teachers