Jump to content

University of Florida/Egm4313/s12 Report 4, Problem 4.3

From Wikiversity

Problem 4.3

[edit | edit source]

Problem 4.3 Part 1

[edit | edit source]

Problem Statement

[edit | edit source]

Solution

[edit | edit source]

Problem 4.3 Part 2

[edit | edit source]

Problem Statement

[edit | edit source]

Given:

where

With initial conditions:

Find the overall solution for and plot these solutions on the interval from

Solution

[edit | edit source]

First we find the homogeneous solution to the ODE:
The characteristic equation is:


Then,
Therefore the homogeneous solution is:


Now to find the particulate solution
For n=4



We can then use a matrix to organize the known coefficients:



Then, using MATLAB and the backlash operator we can solve for these unknowns:
Therefore


Superposing the homogeneous and particulate solution we get


Differentiating:
Evaluating at the initial conditions:



We obtain:



Finally we have:


For n=7



We can then use a matrix to organize the known coefficients:



Then, using MATLAB and the backlash operator we can solve for these unknowns:
Therefore


Superposing the homogeneous and particulate solution we get


Differentiating:
Evaluating at the initial conditions:



We obtain: