Asked by Lydia H
on 31 Jan 2013

Hi guys, I want to solve a second order differential equation which is:

2*y''(t) + 6*y'(t) + 4*y(t) = f'(t) + 2*f(t)

where, f(t) = exp(-t), and t>0.

Do you have any idea how to find the expression for y(t)? I was trying to use the "dsolve" function but couldn't figure out how it works.

Please help me :)

*No products are associated with this question.*

Answer by Arsalan
on 1 Feb 2013

I usally use matlab's ode solvers such as ode45, ode113, you need to read a bit about this.

check this page

http://www.physics.nmt.edu/~rsonnenf/phys321/matlab/Differential%20Equations%20in%20MATLAB.pdf

should be easy to code

Opportunities for recent engineering grads.

## 0 Comments