Animation of a Simple Pendulum using the Euler-Cromer numerical method.

버전 1.0.0.0 (1.87 KB) 작성자: Sathyanarayan Rao
The oscillatory motion of a simple pendulum is simulated using Euler-Cromer method.
다운로드 수: 1.3K
업데이트 날짜: 2013/12/31

라이선스 보기

For small angles, equation of motion of a simple pendulum as derived from the Newton's second law is a simple ordinary differential equation which can be solved numerically. One such numerical technique is the Euler-Cromer method. In this code, oscillatory motion of a simple pendulum is animated using MATLAB inbuilt movie function. At the end , the code also calculates and animates the Kinetic Energy, Potential Energy and the Total energy as a function of time along with the motion of pendulum. The units are arbitrary and energies are normalized to 1. Axis are scaled accordingly to give a better view.

Ref: Computational Physics, 2nd Edition, Nicholas J. Giordano and Hisao Nakanishi,Prentice Hall, ISBN:0-13-146990-8

인용 양식

Sathyanarayan Rao (2024). Animation of a Simple Pendulum using the Euler-Cromer numerical method. (https://www.mathworks.com/matlabcentral/fileexchange/44884-animation-of-a-simple-pendulum-using-the-euler-cromer-numerical-method), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2010a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Numerical Integration and Differential Equations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0