Modified Euler Method
Version 1.0.2 (1,41 KB) von
Dr. Manotosh Mandal
Matlab codes for Modified Euler Method for numerical differentiation
For details of the method and also coding watch the lecture: https://youtu.be/kUhkQsQfh5s
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
Enter the error epsilon: 0.001
x y
0.0000 1.0000
0.2000 1.2266
0.4000 1.5214
0.6000 1.9172
0.8000 2.4543
1.0000 3.1818
The value of y at x=1.00 is y=3.182>>
Zitieren als
Dr. Manotosh Mandal (2024). Modified Euler Method (https://www.mathworks.com/matlabcentral/fileexchange/72523-modified-euler-method), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R2019a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Regression > Linear Regression >
Mehr zu Linear Regression finden Sie in Help Center und MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.2 | For details of the method and also coding watch the lecture: https://youtu.be/kUhkQsQfh5s |
||
1.0.1 | Modified Euler Method for numerical differentiation with example. |
||
1.0.0 |