Quizzes Solutions
Quizzes Solutions
Spring 2022
Quizzes Solutions
Quiz 1
𝑑𝑦
= 𝑥 2 𝑒 −𝑦
𝑑𝑥
𝑒 𝑦 𝑑𝑦 = 𝑥 2 𝑑𝑥
e dy x 2 dx
y
1 3
ey x C
3
Substituting the initial conditions, we get:
1
e 1 ( 0) C C e
3
This gives the particular solution:
1 3 1
ey x e y ln x 3 e
3 3
M
M(x,y) = 3x2y + ey ; 3x 2 e y
y
N
N(x,y) = x3 + xey – 2y; 3x 2 e y
x
M N
the equation is exact.
y x
f
Let 3x 2 y e y f (x, y) x 3 y xe y g(y)
x
x3y + xey – y2 = c
Quiz 2
(b) 𝐶1 𝑒 5𝑥 + 𝐶2 𝑥𝑒 5𝑥 +𝐶3 𝑥 2 𝑒 5𝑥
(2) Find the complete solution of the following differential equation. (9 marks)
𝑑2𝑦 𝑑𝑦
2
+ + 2.5 𝑦 = 17𝑒 2𝑥 + 5𝑥 2
𝑑𝑥 𝑑𝑥
The characteristics equation is: λ2 + λ + 2.5 = 0,
(a) 𝑎𝑛
(b) 𝑏𝑛
(c) 𝑁𝑜𝑛𝑒
(2) Find the Fourier Series for the following periodic function
−2 −𝜋 < 𝑥 < 0
f (x) = {
4 0 < 𝑥< 𝜋
Fourier Series of f(t) is given by:
f (t ) a0 an cos nx bn sin nx
n1
Now,
1
0
1
a0
2 f ( x)dx 2 2 dx 0 4 dx 1
0
1 1 1
an
f ( x) cos nxdx
2 cos nxdx
4 cos nxdx
0
2 sin nx
0
4 sin nx
= 0
n n 0
0
1 1 1
bn
f ( x) sin nxdx 2 sin nxdx 4 sin nxdx
0
0
2 cos nx 4 cos nx 6
n
n n (1 cos n )
0
That is
6 12 6
b1 (1 cos ) b2 (1 cos 2 ) 0 and so on
2
Since a 0 1 and a n 0 for all n 1,2,3,... , the Fourier series, is given by:
f (t ) 1 bn sin nx
n 1
12 4
1 sin x sin 3 x ...