Problem with estimating error

조회 수: 1 (최근 30일)
am
am 2019년 5월 1일
댓글: am 2019년 5월 1일
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
am
am 2019년 5월 1일
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 2019년 5월 1일
Additionally, if I choose a smaller h, than I have a bigger error. Is it what you meant with Heinseberg uncertainity principle?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by