Question: Task 2 . a . Propose a better technique for numerical differentiation that provides higher accuracy than the methods you have worked so far. You
Task
a Propose a better technique for numerical differentiation that provides higher accuracy than the methods you have worked so far. You need to
write a function for your proposed technique.
Let,
b Using your proposed method, what is the slope of at and step size
Compare the error of your method with actual, forward, backward and central differentiation at by showing in Pandas
Dataframe.
d Plot actual derivative, Forward derivative, Backward derivative, Central derivative and the derivative from your proposed method in a graph.
Here,
#a This cell should not have any output.
ProposedMethodName
#Write Code here
#b This cell should print
#cThis cell should print
def comparef fprime, h x:
Result x : "Actual" : FD: BD : CD: RE: FD Error" : BD Error": CD Error" : RE Error" :
#Write code here
compareWUrite code here
#d This cell should plot a graph.
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
