AMS 147 Computational Methods and Applications Exercise #7: GX B X
AMS 147 Computational Methods and Applications Exercise #7: GX B X
Exercise #7
( xi , yi ) ,
i = 1, 2, , N
g1 = x
G = ( g1 )
N
GT G = xT x = x j 2
j =1
N
c = GT y = x j y j
j =1
Coefficient b1 satisfies
(G G ) b
T
= c,
N 2
N
x
=
x
y
b
j
1
j
j
j =1
j =1
Solving for b1, we obtain
N
x
y
j
j
j =1
b1 =
N 2
xj
j =1
-1-
which is
2
2. Verify that u ( x, t ) = sin x exp t satisfies the initial value problem
L
L
ut = u x x
u ( x, 0 ) = sin L x
Answer:
ux x
2
2
= sin x exp t
L
L
L
2
2
ut = sin x exp t
L
L
L
ut = u x x
==>
2
u ( x, 0 ) = sin x exp 0 = sin x
L
L
L
g (t ) dt
0
Answer:
T
N 1
j=0
g (t ) dt t g j
-2-
5. The Nyquist frequency of an experiment is 400 Hz. What is the sampling rate of the
experiment?
Answer: The sampling rate is 800 Hz (twice the Nyquist frequency).
(N > 2000).
Answer:
c2 =
1
Y ( N 1)
N
Answer:
c1 =
1
Y (N )
N
-3-