Numerical methods vs analytical methods for Differential equations

버전 1.0.0.0 (2.12 KB) 작성자: Praveen Ranganath
This code compares the analytical solution with the numerical solutions of a simple first order ODE
다운로드 수: 1.4K
업데이트 날짜: 2013/8/1

라이선스 보기

Euler's method, Modified Euler's method and RK4 methods have been used to obtain approximate solutions of the differential equation dy/dx = x *sqrt(y), with y(2)=4 as the Initial condition. The solutions obtained have been compared against the analytical solution in the first plot. In the second, the errors have been compared. Finally, the time for each algorithm is displayed on the command window.

인용 양식

Praveen Ranganath (2024). Numerical methods vs analytical methods for Differential equations (https://www.mathworks.com/matlabcentral/fileexchange/42908-numerical-methods-vs-analytical-methods-for-differential-equations), 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