QuestionQuestion

Transcribed TextTranscribed Text

(a) Solve y" - 5y =0,y(0) = 1,y(0) = 2 analytically; (b) solve the same problem with Matlab, for 0<15 3; (c) plot both the exact solutions obtained in (a) and the numerical solution in (b) with different colors. Consider the system dx1 = X1 - X2 dt dx2 dt = X1 + X2 with X1 = (a) Solve the system and write down the exact solution. 1 1 0.9 0.8 0.8 0.6 0.7 0.4 0.6 0.2 0.5 0.4 -0.2 0.3 -0.4 0.2 -0.6 0.1 -0.8 -1 o 1 2 3 4 o 1 2 3 4 (b) Use Matlab to solve the system. (c) Plot on the same figure the exact solution and the numerical solution of X1 (t), obtained in (a) and (b) respectively.

Solution PreviewSolution Preview

These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction of bibliographies out of text citations and references. Students may use these solutions for personal skill-building and practice. Unethical use is strictly forbidden.

q.1 (a)
>>dsolve('D2y = 5*Dy', 'y(0) = 1', 'Dy(0) = 2')
ans =

(2*exp(5*t))/5 + 3/5
1(b)
>>
f = @(t,x) [5*x(1);x(1)];

>> [t,y] = ode45...

By purchasing this solution you'll be able to access the following files:
Solution.docx and Solution.pdf.

$25.00
for this solution

or FREE if you
register a new account!

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

Find A Tutor

View available Advanced Math Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.

Decision:
Upload a file
Continue without uploading

SUBMIT YOUR HOMEWORK
We couldn't find that subject.
Please select the best match from the list below.

We'll send you an email right away. If it's not in your inbox, check your spam folder.

  • 1
  • 2
  • 3
Live Chats