Question: Write a program to compute the values of the functions f(x) = x8 - 8x7 +28x6 - 56x5 +70x4 - 56x +28x - 8x+1

Write a program to compute the values of the functions f(x) =

Write a program to compute the values of the functions f(x) = x8 - 8x7 +28x6 - 56x5 +70x4 - 56x +28x - 8x+1 - 8)x+28)x g(x) = (((((((x 8)x + 28)x-56)x + 70)x - 56)x + 28)x8)x+1 h(x) = (x 1)8 - at 101 equally-spaced points covering the interval [0.99, 1.01]. Calculate each function in a straight forward manner without any rearrangement. Observe that the three functions are identical. Plo the three functions in this interval. Explain why the values are not all positive as they should be In your solution, print out the plots for the three functions, and also list the (MATLAB/Octave code for computing/plotting these functions in the interval [0.99, 1.01]. Also, submit the code c Canvas.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To compute the values of the functions fx gx and hx at 101 equally spaced points covering the interv... View full answer

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 Programming Questions!