Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
0 of .
Results for:
P. 1
2930prelim2correction

# 2930prelim2correction

Ratings:
(0)
|Views: 13|Likes:

### Availability:

See more
See less

08/30/2013

pdf

text

original

In[3]:=
DSolve
x''
t
4 x'
t
3 x
t
5 Sin
t
7 Sin
2 t
, x
t
, t
Out[3]=

x
t
3 t
C
1
t
C
2
1130
130 Cos
t
112 Cos
2 t
65 Sin
t
28 Cos
t
Sin
t

Evaluating the DE substituting in the supplied solution:
In[5]:=
X2
t
5
6 Sin
t
10
6 Cos
t
7
21 Sin
2 t
56
21 Cos
2 t
Out[5]=
5 Cos
t
3
83Cos
2 t
5 Sin
t
6
13Sin
2 t
In[10]:=
X2DE
D
D
X2
t
, t
, t
4 D
X2
t
, t
3 X2
t
Out[10]=
5 Cos
t
3
323Cos
2 t
5 Sin
t
6
3
5 Cos
t
3
83Cos
2 t
5 Sin
t
6
13Sin
2 t
43Sin
2 t
45 Cos
t
6
23Cos
2 t
5 Sin
t
3
163Sin
2 t
In[11]:=
Simplify
X2DE
Out[11]=
53
5 Sin
t
13 Sin
2 t

Double checking whether the
Mathematica
solution is correct
In[19]:=
X1
t
1130
130 Cos
t
112 Cos
2 t
65 Sin
t
28 Cos
t
Sin
t

Out[19]=
1130
130 Cos
t
112 Cos
2 t
65 Sin
t
28 Cos
t
Sin
t

In[20]:=
X1DE
D
D
X1
t
, t
, t
4 D
X1
t
, t
3 X1
t
Out[20]=
3130
130 Cos
t
112 Cos
2 t
65 Sin
t
28 Cos
t
Sin
t

1130
130 Cos
t
448 Cos
2 t
65 Sin
t
112 Cos
t
Sin
t

265
65 Cos
t
28 Cos
t
2
130 Sin
t
28 Sin
t
2
224 Sin
2 t

In[21]:=
Simplify
X1DE
Out[21]=
5
14 Cos
t

Sin
t
Where 14cos(t)sin(t) = 7(2cos(t)sin(t)) = 7sin(2t)Simplifying the solution