Topic 14.7: Systems of Initial-Value Problems (Questions)

Contents Previous Chapter Start of Chapter Previous Topic Introduction Notes Theory HOWTO Examples Engineering Error Questions Matlab Maple Next Topic Next Chapter

Question 1

Consider the system of IVPs defined by

x(1)(t) = -0.6 x(t) + 1.8 y(t)
y(1)(t) = -2.6 x(t) − 0.3 y(t)

together with

x(0) = 1 y(0) = 1

Find the first five iterations using h = 0.1.

You can check your answer with

>> M = [-0.6 1.8; -2.6 -0.3];
>> x = zeros( 2, 1000 );
>> x(:, 1) = [1 1]';
>> for i=2:1000
     x(:, i) = x(:, i - 1) + 0.1 * M*x(:, i - 1);
end;
>> plot( x(1, :), x(2, :) )

however, the first two iterations are u1 = (1.12, 0.71)T and u2 = (1.1806, 0.3975)T.

Copyright ©2006 by Douglas Wilhelm Harder. All rights reserved.