Question: In hw 0 1 q 2 . m create a row of values for h parameter 1 0 , 1 , 0 . 1 ,
In hwqm create a row of values for h parameter
and a correspondent to it row of errors e
Evaluate the rate of convergence of the error e with respect to the parameter h and
report the final answer via
Cube each element of the error e using an inline function thirdpower @x x to
create another row of new errors E Hint: notice the helpful dot after x Evaluate and
report to hwqm the convergence rate of the error E with respect to the parameter
h
Plot both sequences of errors e and E as functions of h at the end of hwqm Include
a legend with initial and cubed a title Wow and the axis labels, parameter and
error
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
