Effacer les filtres
Effacer les filtres

Problem with estimating error

2 vues (au cours des 30 derniers jours)
am
am le 1 Mai 2019
Commenté : am le 1 Mai 2019
Hi,
We are trying to calculate the error in a double pendulum with Runge Kutta method.
We first run the program for an h = 0.001 and saved the 4 values inside of a reference vector. We then normalized the vector and compared it's norm against results for bigger h.
The problem is that although h is divided by two in every step, the error seems to be growing.
Why is that happening?
  6 commentaires
am
am le 1 Mai 2019
I moved in all the vectors and the t, the error is now getting smaller!
But it has not accurace O(h⁴) as expected?
am
am le 1 Mai 2019
Additionally, if I choose a smaller h, than I have a bigger error. Is it what you meant with Heinseberg uncertainity principle?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by