Euler Method
Versión 1.0.2 (1,3 KB) por
Dr. Manotosh Mandal
Matlab codes for Euler method of numerical differentiation
For details of the method and also coding watch the lecture: https://youtu.be/PLITK8MxZxY
Example:
Enter the function f(x,y): inline('x^2+y')
Enter initial value of x i.e. x0: 0
Enter initial value of y i.e. y0: 1
Enter the final value of x: 1
Enter the step length h: 0.2
x y
0.000 1.000
0.200 1.200
0.400 1.448
0.600 1.770
0.800 2.196
1.000 2.763
The value of y at x=1.00 is y=2.763>>
Citar como
Dr. Manotosh Mandal (2024). Euler Method (https://www.mathworks.com/matlabcentral/fileexchange/72522-euler-method), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2019a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Calculus en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.2 | For details of the method and also coding watch the lecture: https://youtu.be/PLITK8MxZxY |
||
1.0.1 | Euler method of numerical differentiation with example. |
||
1.0.0 |