# S4.

Solution:

Let’s try to find the complementary function of the second ordered linear differential equation with constant coefficients at first.

Let’s find the complementary function by the following formula

where the auxiliary equation is obtained. Roots of the second ordered polynomial equation:

i.e. and .

Consequently the solutions are and

Linear combination of the two independent solution is also solution of the homogenous equation, meaning the complementary function will be the following:

Let’s find the particular solution as , where B is a constant value, due to the constant input function.

General solution of the inhomogeneous differential equation is:

Let’s use the initial conditions, in order to determine coefficients.

Now the following set of two linear equations has to solve:

Let’s substitute the A1 coefficient into the II. equation

,
as well as .

Consequently the general solution of the differential equation is:

The following expression can be written by Euler’s formula:

The solution is

Let’s do some conversion at the final formula: it is known, that , where , and