# Constructing a DE

1. Sep 22, 2013

### LocalStudent

Hi

I'm working through some example question and the memo leaves out this question. I was hoping someone can help me out.

The question:
Construct a differential equation of the form y'' + by' + cy = 0 which has y(t) = e^t cos(3t) as one of its solutions.

What I did:
First I found the y'(t) and y''(t)
Plugged that into the DE.

b = -2
c = -6

y'' - 2y' - 6y = 0

2. Sep 22, 2013

### Simon Bridge

It will also help to show your working step-by-step.

3. Sep 22, 2013

### Staff: Mentor

You can use WolframAlpha to check your result.

4. Sep 22, 2013

### pasmith

Hint: What is the relationship between the ODE
$$y'' + by' + cy = 0$$
$$\lambda^2 + b\lambda + c = 0?$$
$$\cos kt \equiv \frac{e^{ikt} + e^{-ikt}}{2}$$