Question

A. There are many methods for solving systems of differential equations using MATLAB. Here is a link to information regarding

0 0
Add a comment Improve this question Transcribed image text
Answer #1

for a galtom A ncomfn - olt SO r a iallon 2 니지 2 2S o0 2J 2기 2 25 プ110)ニ 25

writing in matrix form

\begin{pmatrix} x_1'\\ x_2' \end{pmatrix} = \begin{pmatrix} -2/25 &1/50 \\ 2/25 & -2/25 \end{pmatrix}\begin{pmatrix} x_1\\ x_2 \end{pmatrix}

with initial condition given above

%%% Matlab code

clc;
close all;
clear all;
A=[-2/25 1/50;2/25 -2/25];
b=[25 0]';
syms s
B=s*eye(2)-A;
xt=ilaplace(inv(B)*b);

%%%
disp('solution is ');
fprintf('x_1(t)=')
disp(xt(1))
fprintf('x_2(t)=')
disp(xt(2))

OUTPUT:

solution is
x_1(t)=(25*exp(-t/25))/2 + (25*exp(-(3*t)/25))/2

x_2(t)=25*exp(-t/25) - 25*exp(-(3*t)/25)

Add a comment
Know the answer?
Add Answer to:
A. There are many methods for solving systems of differential equations using MATLAB. Here is a l...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT