MHB Richardson's Extrapolation for Derivative Estimation

  • Thread starter Thread starter CaptainBlack
  • Start date Start date
  • Tags Tags
    Extrapolation
CaptainBlack
Messages
801
Reaction score
0
From Randy Blythe's Yahoo Answers Question:

Use Richardson’s extrapolation, using a centred difference scheme for the initial estimates, to estimate the first derivative of y=(x^3)sinx at x=2 with step sizes h1=0.5 and h2=0.25. Calculate the actual derivative and the percentage error
 
Mathematics news on Phys.org
CaptainBlack said:
From Randy Blythe's Yahoo Answers Question:

Use Richardson’s extrapolation, using a centred difference scheme for the initial estimates, to estimate the first derivative of y=(x^3)sinx at x=2 with step sizes h1=0.5 and h2=0.25. Calculate the actual derivative and the percentage error

First you need to find the central difference estimate of \(y'(2)\) with \(h=0.5\) and \(h=0.25\).

As the central difference estimate of the derivative at \(x\) with step size \(h\) is:

\[y'_h(x)= \frac{y(x+h/2)-y(x-h/2)}{h}\]

we heve

\[y'_{0.5}(2) = \frac{ y(2+0.25) - y(2-0.25) }{ 0.5} \approx 7.17838 \]

and

\[y'_{0.25}(2) = \frac{ y(2+0.125) - y(2-0.125) }{ 0.25} \approx 7.48111 \]Now we know that the central differences approximation for the derivative is or order \(h^2\), so our Richardson extrapolation \(y'_R(x)\) for \(\lim_{h\to 0} y'_h(x)\) is:

\[y'_R(x)= \frac{ 2^n y'_{h/2}(x) - y'_{h}(x) }{ 2^n-1 } \]

with \(n=2\).

Hence:

\[ y'_R(2) = \frac{ 2^2 y'_{0.25}(2) - y'_{0.5}(2) }{ 2^2-1 } \approx 7.58202\]

I will leave the last part, the comparison with the true value to you.

CB
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.

Similar threads

Back
Top