Question

In: Advanced Math

Numerical Analysis: Perform the steps of the secant method to approximate the first three positive roots...

Numerical Analysis: Perform the steps of the secant method to approximate the first three positive roots of the transcendent equation x = sin (πx).

Solutions

Expert Solution

Iteration scheme under secant method is:

Starting with for which (so we definitely have a positive root here) we get the following table of iterates:

n x_n f(x_n)
-1 2.000000000 2.000000000
0 0.500000000 -0.500000000
1 0.800000000 0.212214748
2 0.710610635 -0.078367145
3 0.734718088 -0.005508773
4 0.736540836 0.000176232
5 0.736484332 -0.000000363

Note that this equation has exactly one positive real root as can be seen from the graph below:

So the only positive root is (approximately)

Hope this was helpful. Please do leave a positive rating if you liked this answer. Thanks and have a good day!


Related Solutions

1. (Euler’s method) First, work out the first three steps by hand. Then approximate y(2) for...
1. (Euler’s method) First, work out the first three steps by hand. Then approximate y(2) for each of the initial value problems using Euler’s method, first with a step size of h = .1 and then with a step size of h = .05 using the Excel spreadsheet. (a) dy dx = 2xy, y(0) = 1 (b) dy dx = x − y x + 2y , y(0) = 1 (c) dy dx = y + x, y(0) = 1...
2. (Improved Euler’s Method ) Second, work out the first three steps by hand. Then approximate...
2. (Improved Euler’s Method ) Second, work out the first three steps by hand. Then approximate y(2) for each of the initial value problems using Improved Euler’s method, first with a step size of h = .1 and then with a step size of h = .05 using the Excel spreadsheet. (a) dy dx = 2xy, y(0) = 1 (b) dy dx = x − y x + 2y , y(0) = 1 (c) dy dx = y + x,...
Numerical Analysis: Apply Newton’s method to find the roots of polynomial P(x) = x^3 + 3x^2...
Numerical Analysis: Apply Newton’s method to find the roots of polynomial P(x) = x^3 + 3x^2 − 2x + 1. Find the convergence rate.
Write Matlab programs implementing the algorithms based on bisection,Newton, and secant method for numerical solution of...
Write Matlab programs implementing the algorithms based on bisection,Newton, and secant method for numerical solution of scalar nonlinear equa-tions. Use these programs to compute approximations to real roots of the following equations: exp(x)−3x^2=0, (1) x^3=x^2+x+1, (2) exp(x) =1/(0.1 +x^2), (3) and x= 1 + 0.3 cos(x). (4) Use an error tolerance tol=10^(−12). Display the obtained approximations to the roots of these equations, and compare the number of iterations, starting with the same initial values x0 for bisection and Newton methods,...
Use ten steps in Euler’s method to determine an approximate solution for the differential equation y′...
Use ten steps in Euler’s method to determine an approximate solution for the differential equation y′ = x3, y(0) = 0, using a step size Δx = 0.1.
Explain the importance of error analysis in numerical methods with suitable example. Out of Bisection method...
Explain the importance of error analysis in numerical methods with suitable example. Out of Bisection method and secant method which one is better and why? Solve one application based problem using that method. Use Newton-Raphson Method to find the root of trigonometric function correct up to seven decimal places. (Trigonometric function should be complex) Solve one problem which is based on the application of Interpolation. Using numerical differentiation solve one application based problem. (Use central difference approximation and problem must...
For each of the following scenarios, perform the three steps in the materiality process: (1) determine...
For each of the following scenarios, perform the three steps in the materiality process: (1) determine overall materiality, (2) determine tolerable misstatement, and (3) evaluate the audit findings. Assume further that the auditor’s firm provides guidance that tolerable misstatement will be set 50% of overall materiality. Scenario 1: Murphy & Johnson is a privately owned manufacturer of small motors for lawnmowers, tractors, and snowmobiles. The components of its financial statements are (1) income before taxes = $21 million, (2) total...
Perform an experimental analysis to test and compares the relative running times of this method [HINT:...
Perform an experimental analysis to test and compares the relative running times of this method [HINT: use the following inputs size to check each example (1000). You can generate each array using random number generator to fill the array with the pervious input size]. /** Returns the sum of the integers in given array. */ public static int example1(int[] arr) { int n = arr.length, total = 0; for (int j=0; j < n; j++) // loop from 0 to...
Please use python or matlab. The function e^x −100x^2 =0 has three true solutions.Use secant method...
Please use python or matlab. The function e^x −100x^2 =0 has three true solutions.Use secant method to locate the solutions with tolerance 10^(−10).
1. Perform sensitivity analysis on the following project by first finding the NPV for the base...
1. Perform sensitivity analysis on the following project by first finding the NPV for the base case, then for a 10% decline in quantity sold and a 10% increase in quantity sold.       Investment = $270,000 Straight line depreciation                                      over 3 years       quantity sold per year = 20,000       Price per unit = $20       Operating Cost = $10 per unit (all variable)       Tax rate 25%   cost of capital 10%       Project will have a 3-year life...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT