MATLAB


2.3 - 18


subplot (2, 2, 1), plot (x, EIn); axis ( [0 2 -150 150] ); grid on

subplot (2, 2, 2), plot (x, EIfi); axis ( [0 2 -150 150] ); grid on

subplot (2, 2, 3), plot (x, Q); axis ( [0 2 -100 100] ); grid on

subplot (2, 2, 4), plot (x, M); axis ( [0 2 -100 100] ); grid on.

( ) (2; 4) -

x = 2.0 : 0.001 : 4.0; m = 20.0;

EIn = - (X(2,1).* X(4,1).*x.^3/6 + m.*(x 2).^2/2);

EIfi

= - (X(2,1) X(4,1).*x.^2/2 + m.*(x 2));

Q = X(4,1); M = X(4,1).*x m;

subplot (2, 2, 1), plot (x, EIn); axis ( [2 4 -150 150] ); grid on

subplot (2, 2, 2), plot (x, EIfi); axis ( [2 4 -150 150] ); grid on

subplot (2, 2, 3), plot (x, Q); axis ( [2 4 -100 100] ); grid on

subplot (2, 2, 4), plot (x, M); axis ( [2 4 -100 100] ); grid on.

1 2

x = 0 : 0.001 : 6.0; q = 10.0;

EIn = - (X(6,1).*x X(7,1).*x.^2/2 X(8,1).*x.^3/6 + q.*x.^4/24);

EIfi

= - (X(6,1) X(7,1).*x X(8.1).*x.^2/2 + q.*x.^3/6);

Q = X(8,1) q.*x; M = X(7,1) + X(8,1).*x q.*x.^2/2;

subplot (2, 2, 1), plot (x, EIn); axis ( [0 6 -150 150] ); grid on

subplot (2, 2, 2), plot (x, EIfi); axis ( [0 6 -150 150] ); grid on

subplot (2, 2, 3), plot (x, Q); axis ( [0 6 -100 100] ); grid on

subplot (2, 2, 4), plot (x, M); axis ( [0 6 -100 100] ); grid on.

2 3

x = 0 : 0.001 : 2.0;

EIn

= - (X(10,1).*x X(11,1).*x.^2/2 X(12,1).*x.^3/6);

EIfi

= - (X(10,1) X(11,1).*x X(12,1).*x.^2/2);

Q = X(12,1); M = X(11,1) + X(12,1).*x;

subplot (2, 2, 1), plot (x, EIn); axis ( [0 2 -150 150] ); grid on

subplot (2, 2, 2), plot (x, EIfi); axis ( [0 2 -150 150] ); grid on

subplot (2, 2, 3), plot (x, Q); axis ( [0 2 -100 100] ); grid on

subplot (2, 2, 4), plot (x, M); axis ( [0 2 -100 100] ); grid on.

x =2. 0 : 0.001 : 3.0;

EIn

= - (X(10,1).* X(11,1).*x.^2/2 X(12,1).*x.^3/6 f1.*(x 2).^3/6);