Find derivative of function given the values

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 2K views
Painguy
Messages
118
Reaction score
0

Homework Statement


You are given the following values for the errror function f HxL = erf HxL.
erf (0)= 0
erf (1) = 0.84270079
erf(.1)= 0.11246292
erf(.01) = 0.01128342
Use this information to approximate the value of erf '(1). Explain how you arrived at your answer.

Homework Equations





The Attempt at a Solution


I basically took the average from both sides of erf(.01)
(((erf(0)-erf(.01))/.01)+((erf(.01)-erf(.1))/(-.09)))/2 = (1.128342 + 1.124216667)/2 =1.126279335

I ended up with 1.126279335 so I'm assuming its something close to that like 1.12? Am I right or wrong?
 
Physics news on Phys.org
Painguy said:

Homework Statement


You are given the following values for the errror function f HxL = erf HxL.
erf (0)= 0
erf (1) = 0.84270079
erf(.1)= 0.11246292
erf(.01) = 0.01128342
Use this information to approximate the value of erf '(1). Explain how you arrived at your answer.

Homework Equations





The Attempt at a Solution


I basically took the average from both sides of erf(.01)
(((erf(0)-erf(.01))/.01)+((erf(.01)-erf(.1))/(-.09)))/2 = (1.128342 + 1.124216667)/2 =1.126279335

I ended up with 1.126279335 so I'm assuming its something close to that like 1.12? Am I right or wrong?

Why would you use values near 0 when you are interested in erf'(1)? Did you type the last two data points correctly?
 
Painguy said:

Homework Statement


You are given the following values for the errror function f HxL = erf HxL.
What is the HxL business?
Painguy said:
erf (0)= 0
erf (1) = 0.84270079
erf(.1)= 0.11246292
erf(.01) = 0.01128342
Use this information to approximate the value of erf '(1). Explain how you arrived at your answer.

Homework Equations





The Attempt at a Solution


I basically took the average from both sides of erf(.01)
(((erf(0)-erf(.01))/.01)+((erf(.01)-erf(.1))/(-.09)))/2 = (1.128342 + 1.124216667)/2 =1.126279335
I can't see that this will do you much good. To get an estimate of the derivative at x = 1, you need values that are reasonably close to x = 1. The two that are closest are x = .1 and x = 1.
Painguy said:
I ended up with 1.126279335 so I'm assuming its something close to that like 1.12? Am I right or wrong?
Your estimate is too large by at least a factor of 2.
 
Sorry i meant to say at erf'(0).that was a typo on my part