You are on page 1of 1

ENG2005 Assignment 5 Semester 1 2017

Students Name:

Tutors Name:

Allocated Support Class:

(1) Use the method of variation of parameters to find a solution y(x) of the non-homogeneous differ-
ential equation y 00 + 4y 0 5y = 8e3x , with initial conditions y(0) = 5 and y 0 (0) = 0.
TOTAL MARKS: 10

(2) a) Solve the ordinary differential equation with the initial conditions:

y (3) + 3y 00 + 4y 0 + 12y = 0, y(0) = 0, y 0 (0) = 5, y 00 (0) = 39.

(Show your work. Do not use a calculator). [8 marks]

b) Use the Matlab solver: dsolve(eqn,cond) to find the solution y(t) of the above equation (just
one line of coding!) Plot y(t) in Matlab. Attach the code, the output of your code and the graph
of your solution. [3 marks]

Note: You can access a sample code for this task, available via Moodle, if you answer the online
quiz of the ODE Moodle topic. dsolve(eqn) solves the differential equation eqn, where eqn is a sym-
bolic equation. Use diff and == to represent differential equations. For example, diff(y, x) == y
represents the equation dy/dx = y.

TOTAL MARKS: 11

(3) a) Solve the initial value problem given by : x0 = 10y, y 0 = 10x, x(0) = 3 and y(0) = 4, by
converting the system into a single linear nth order equation. Your solutions will be x(t) and y(t).
Show your full analytical work. [7 marks]

b) If t = [0, 2/10], sketch and describe the shape of the curve represented by the parametric
equation given by x(t) and y(t) and also show the location of your initial condition x(0) and y(0).
You can use parametric plots in matlab or just sketch by hand. [2 marks].

TOTAL MARKS: 9

You might also like