Question: Need help figuring out this homework using basic python 1. Consider the function f(x) = tan(x) - sin(x) - 2.75 = 0. Use the trigonometric
Need help figuring out this homework using basic python
1. Consider the function f(x) = tan(x) - sin(x) - 2.75 = 0. Use the trigonometric expansions tan(x) = x + x/3 and sin(x) = x - x3/6 and substitute into the original equation. Solve the resulting algebraic equation for x. Use this value to start the Newton-Raphson method for the original equation. Perform 5 iterations and report the solution and function value at each iteration. 2. Use the secant method twice for the equation in Problem 1. Use the starting values x(0)=1.0 and x(1)=1.5 for the first run and x(0)=2.0 and x(1)=4.0 for the second run. For both runs, perform 5 iterations and report the solution, approximate error, and function value at each iteration
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
