Professional Documents
Culture Documents
ADVANCED CONTROL
x 250 300 350 400 450 500 550 600 650 700 750 800 850
y .445 .362 .302 .256 .223 .197 .176 .158 .144 .132 .121 .112 .103
3 x1 7 x 2 5 x3 20 x 4 4 x5 96
x1 2 x 2 3 x3 9 x 4 10 x5 67
5 x1 x 2 16 x3 4 x 4 6 x5 124
2 x1 2 x 2 x3 x 4 18 x5 73
x1 3 x 2 x3 5 x 4 2 x5 19
d y ( x)
(1 x 2 )1 / 2 y ( x ) x, x 0, y (0) 0
dx
d y ( x) x y ( x)
dx (1 x 2 )1 / 2
y ( x)
1
x
ln x 1 x 2
2 x 1 x2
(a) Create a Simulink model which integrates the above differential equation over the
interval x [0, 0.1] using Euler’s method with step size h = 0.01. Write a MATLAB
program (in an m-file) which plots the estimated and actual y against x and computes the
solution error at each stage in the integration.
(b) Repeat part (a) using the fourth-order Runge-Kutta numerical integration technique.