Matlab codes for Euler method of numerical differentiation
软件应用简介

Matlab codes for Euler method of numerical differentiation
Euler’s method is a numerical method to solve first order first degree differential equation with a given initial value. It is the most basic explicit method for numerical integration of ordinary differential equations and is the simplest Runge–Kutta method. The Euler method is a first-order method, which means that the local error (error per step) is proportional to the square of the step size, and the global error (error at a given time) is proportional to the step size.
Example:
Enter initial value of x i.e. x0: 0
Enter initial value of y i.e. y0: 0.5
Enter the final value of x: 2
Enter the step length h: 0.2
x y
0.000 0.500
0.200 0.600
0.400 0.760
0.600 0.992
0.800 1.310
1.000 1.732
1.200 2.279
1.400 2.975
1.600 3.850
1.800 4.940
2.000 6.288
界面展示

结果示意

规格 价
0元试用 |
---|
0.0元人民币/月 |
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!