Question: (Use Python) 3. Assume that you have done a preliminary investigation (for instance, you used software to graph), and determined that the equation f(x)=0.25x(sin(x/3))2+0.12=0 has

(Use Python)  (Use Python) 3. Assume that you have done a preliminary investigation
(for instance, you used software to graph), and determined that the equation

3. Assume that you have done a preliminary investigation (for instance, you used software to graph), and determined that the equation f(x)=0.25x(sin(x/3))2+0.12=0 has 2 distinct roots in the interval [0,10]. (Note that there is no way to solve this equation exactly using pencil and paper.) (a) [1] Write a function to calculate the values of f(x), and use it to determine the intervals where the two roots lie. (This means you need to identify two intervals, so that each interval contains one root. Of course, there are many correct choices.) (b) [2] Use the bisection method (look at the template for the values of the parameters) to locate the two solutions, with the tolerance as given in the template. Start the bisection with the intervals that you identified in (a). Output: for each solution, print the interval which contains it

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!