MHB Find Order of Accuracy: Solve Mistake Worried

  • Thread starter Thread starter evinda
  • Start date Start date
  • Tags Tags
    Accuracy
Click For Summary
SUMMARY

The discussion focuses on determining the order of accuracy for a numerical method using given values: $h_1=0.1$, $\delta_1=0.01$, $h_2=0.05$, and $\delta_2=0.025$. The initial calculation incorrectly assumed the relationship between $\delta_1$ and $\delta_2$, leading to an erroneous result for the order of accuracy. The correct approach reveals that $p=1$, confirming the expected accuracy of the method.

PREREQUISITES
  • Understanding of numerical methods and their accuracy
  • Familiarity with logarithmic functions and properties
  • Basic knowledge of error analysis in numerical computations
  • Proficiency in mathematical notation and expressions
NEXT STEPS
  • Study the derivation of order of accuracy in numerical methods
  • Learn about error analysis techniques in numerical simulations
  • Explore logarithmic identities and their applications in mathematical proofs
  • Investigate different numerical methods and their convergence properties
USEFUL FOR

Mathematicians, numerical analysts, and students studying numerical methods who seek to understand the principles of accuracy and error in computational techniques.

evinda
Gold Member
MHB
Messages
3,741
Reaction score
0
Hello! (Wave)

Suppose that we are given $h_1=0.1 \to \delta_1=0.01$ and $h_2=0.05 \to \delta_2=0.025$ and we want to find the order of accuracy of the method.
I have tried the following:

$\delta_1^n= c h_1^{p+1}, \delta_2^n=c h_2^{p+1} \Rightarrow p+1= \frac{\log \left( \frac{\delta_1^n}{\delta_2^n}\right)}{\log \left( \frac{h_1}{h_2} \right)}= \frac{\log 2- \log 5}{\log 2} \Rightarrow p= \frac{- \log 2}{\log 5}$.

But the result should be 1. Where is my mistake? (Worried)
 
Mathematics news on Phys.org
evinda said:
Hello! (Wave)

Suppose that we are given $h_1=0.1 \to \delta_1=0.01$ and $h_2=0.05 \to \delta_2=0.025$ and we want to find the order of accuracy of the method.
I have tried the following:

$\delta_1^n= c h_1^{p+1}, \delta_2^n=c h_2^{p+1} \Rightarrow p+1= \frac{\log \left( \frac{\delta_1^n}{\delta_2^n}\right)}{\log \left( \frac{h_1}{h_2} \right)}= \frac{\log 2- \log 5}{\log 2} \Rightarrow p= \frac{- \log 2}{\log 5}$.

But the result should be 1. Where is my mistake? (Worried)

Hey! (Smile)

Since $h_2$ is smaller than $h_1$, I'd expect $\delta_2$ to be smaller than $\delta_1$. :eek:

Perhaps it should be:
$$p+1= \frac{\log \left( \frac{\delta_1}{\delta_2}\right)}{\log \left( \frac{h_1}{h_2} \right)}
=\frac{\log \left( \frac{0.01}{0.0025}\right)}{\log \left( \frac{0.1}{0.05} \right)}
= \frac{\log 4}{\log 2} = 2 \qquad\Rightarrow\qquad p = 1$$
(Wondering)
 

Similar threads

Replies
1
Views
998
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
7K