You are on page 1of 4

Assignment No.

02
Total Marks: 20
Semester: Spring2020
Due Date: 21 August, 2020
MTH 401
ID:BC180200407
Muhammad Ali

Question:1
A spring with a mass of 5 Kg has natural length 0.5m. A force of 35.6 N is required to maintain it
stretched to a length of 0.5m. If the spring is stretched to a length of 0.5m and released with initial
velocity 0, find the position of the mass at any time t. Here damping constant is zero.
Solution:

Mass = 5kg
Natural length= 0.5m
Force = 35.6 N
Stretch= 0.5m
X(0)=0.5
X’(0)=0
d 2x
m 2  kx  0
dt
By Hook’s law
F=ks
35.6=k(0.5)
K=71.2N/m
d 2x
5 2  71.2 x  0
dt
2
d x
 14.2 x  0
dt 2
Let x=e mt
dx
 me mt
dt
d 2x
 m 2 e mt
dt 2
m 2  14.2  0
m 2  14.2
m  3.76i
m1  3.76i
m2  3.76i
yc  c1 cos 3.76t  c2 sin 3.76t
Applying initial conditions
y(0)=c1 cos 0  c2 sin 0  0.5
y (0)  c1.1  0  0.5
c1  0.5
y( x)  3.76c1 sin 3.76t  3.76c2 cos 3.76t
y(0)  3.76c2 .1  0
c2  0
y (t )  0.5cos 3.76t  0sin 3.76t
y (t )  0.5cos 3.76t

Question:2
Find a series solution for the differential equation y  y  0 about x0  0 such that

an
an  2   , n  0,1, 2,.... y ( x)   an x n
(n  2)(n  1) and n0

Solution:
an
an  2   , n  0,1, 2,....
(n  2)(n  1)
asn  0
a0 a
a2    0
(0  2)(0  1) 2.1
n 1
a1 a
a3    1
(1  2)(1  1) 3.2
n2
a2 a0
a4   
(2  2)(2  1) 4.3.2.1
n3
a3 a1
a5   
(3  2)(3  1) 5.4.3.2.1
n4
a4 a0
a6   
(4  2)(4  1) 6.5.4.3.2.1
n5
a5 a1
a7   
(5  2)(5  1) 7.6.5.4.3.2.1
(1) k a0
a2 k  , k=0,1,2,......
(2k )!
(1) k a1
a2 k 1  , k=0,1,2,......
(2k  1)!

y ( x)  a x
n 0
n
n

y ( x)  a0  a1 x  a2 x 2  a3 x 3  ......  a2 n x 2 k  a2 n 1 x 2 k 1  ....
a0 2 a1 3 (1) k a0 2 k (1) k a1 2 k 1
y ( x)  a0  a1 x  x  x  ......  x  x  ....
2! 3! 2k ! (2k  1)!
 1 (1) k   x3 (1) k 2 k 1 
y ( x)  a0 1  x 2  .....   .....  a1  x   .....  x  .....
 2! 2k !   3! (2k  1)! 

(1) k 2 k 
(1) k 2 k 1
y ( x)  a0  x  a1  x
k  0 2k ! k  0 (2 k  1)!
BEST OF LUCK

You might also like