ME5332 FINAL EXAMINATION
02:00-03:30PM, May 7, 2021
2
Find the fluid velocity components (u,v) for a complex potential function given as
f
(
z
) =
z
+
i
z
.
Approximate
e
x
by
d
1
+
d
2
x
over [0, 1] using the least square method.
Obtain the first
two
ON functions, (
e
1
,
e
2
), over [0, 2] by the Gram-Schmidt procedure for
a
1
= 1 and
a
2
=
x
where the inner product is defined as
(
f
,
g
) =
⌠
⌡
2
0
x
f
(
x
)
g
(
x
)
dx
.
Using (
e
1
,
e
2
) in Problem 3, expand
f
(
x
)=
x
3
by a linear combination of
e
1
and
e
2
over [0, 2].
Find the eigenvalues and eigenfunctions for
L
e
n
= λ
n
e
n
,
L
≡ −
d
2
dx
2
,
e
n
′(−1) =
e
n
(0)=0.
Solve
−
u
"(
x
)=
x
,
u
′(−1)=
u
(0)=0,
using the eigenfunction expansion method and write down the first two terms.
Find a one-term approximate solution to the differential equation,
L
u
= 1,
L
≡
d
2
dx
2
+
x
,
u
(0) =
u
(1) = 0,
(
u
"+
x
u
=1) using the Galerkin method. Choose a base function which vanishes at
x
= 0, 1.
Using the Neumann series approach, compute
A
−1
where
A
≡
⎛
⎜
⎜
⎜
⎝
1
−1
1
0
1
1
0
0
1
⎞
⎟
⎟
⎟
⎠
.
Solve the Laplace equation,
∂
2
u
∂
x
2
+
∂
2
u
∂
y
2
= 0,
{(
x
,
y
),0 ≤
x
≤ 1, −∞ <
y
≤ 0 }
with the boundary condition shown by the eigenfunction expansion method.
Rewrite
−
u
"(
x
)+
e
x
u
(
x
) =
x
,
u
(0)=
u
(1)=0,
in a weak form.
Solution
1.
u
=1−
2
xy
(
x
2
+
y
2
)
2
,
v
=
x
2
−
y
2
(
x
2
+
y
2
)
2
.
2.
Note that when the distance is minimized,
(
e
x
−
d
1
−
d
2
x
, 1)=0, (
e
x
−
d
1
−
d
2
x
,
x
)=0,
so
−
d
1
−
d
2
2
+
e
−1 = 0,
1
6
(−3
d
1
−2
d
2
+6)=0,
from which
d
1
= 2 (2
e
−5) ∼ 0.873127,
d
2
=6 (3−
e
) ∼ 1.69031.
3.
e
1
=
a
1
||
a
1
||
=
1
√2
.
e
2
′ =
a
2
− (
a
2
,
e
1
)
e
1
=
x
− (
x
,
1
√2
)
1
√2
=
x
−
4
3
.
and
||
e
2
′||
2
= (
e
2
′,
e
2
′) = (
x
−
4
3
,
x
−
4
3
) =
2
3
,
so
e
1
=
1
√2
,
e
2
=
3
x
− 4
2
.
*
.
x
3
∼
c
1
e
1
+
c
2
e
2
,
c
1
= (
x
3
,
e
1
)=
16√2
5
∼ 4.52548,
c
2
=(
x
3
,
e
2
) =
16
5
.
5.
e
n
(
x
) = √2 sin
⎛
⎝
√
λ
n
x
⎞
⎠
, λ
n
=
⎛
⎝
(
n
+
1
2
)π
⎞
⎠
2
.
6.
x
n
= (
x
,
e
n
) =
4 √2 (−1)
n
(2 π
n
+π)
2
.
~
u
=
32 sin
⎛
⎝
π
x
2
⎞
⎠
π
4
−
32 sin
⎛
⎝
3 π
x
2
⎞
⎠
81 π
4
∼ 0.328511 sin
⎛
⎝
π
x
2
⎞
⎠
− 0.004055 sin
⎛
⎝
3 π
x
2
⎞
⎠
.
Note: The exact solution is
u
=
1
6
(3
x
−
x
3
).
Here is a comparison (no difference):
7.
Choose
e
(
x
) =
x
(1−
x
). Then
e
′(
x
) = 1 − 2
x
and
e
"(
x
) = −2.
L
e
=
e
"+
x
e
= −2 +
x
2
(1 −
x
), (
L
e
,
e
) =
⌠
⌡
1
0
(−2 +
x
2
−
x
3
)
x
(1−
x
)
dx
=
−19
60
.
(
e
,
c
) =
⌠
⌡
1
0
x
(1−
x
)
d
x
=
1
6
,
so
−19
60
u
1
=
1
6
⇒
u
1
= −
10
19
.
hence
~
u
= −
10
19
x
(1−
x
) ∼ − 0.526316
x
(1−
x
).
8.
A
=
⎛
⎜
⎜
⎜
⎝
1
−1
1
0
1
1
0
0
1
⎞
⎟
⎟
⎟
⎠
=
I
+
M
where
M
=
⎛
⎜
⎜
⎜
⎝
0
−1
1
0
0
1
0
0
0
⎞
⎟
⎟
⎟
⎠
.
Note
M
2
=
⎛
⎜
⎜
⎜
⎝
0
0
−1
0
0
0
0
0
0
⎞
⎟
⎟
⎟
⎠
M
3
= 0,
so
A
−1
= (
I
+
M
)
−1
=
I
−
M
+
M
2
=
⎛
⎜
⎜
⎜
⎝
1
1
−2
0
1
−1
0
0
1
⎞
⎟
⎟
⎟
⎠
.
9.
Note that the eigenfunction and the eigenvalues are
e
n
(
x
) = √2 sin
√
λ
n
x
, λ
n
= (
n
π)
2
.
u
(
x
,
y
) =
∑
(
f
,
e
n
)
e
√{λ
n
}
y
e
n
(
x
),
where
(
f
,
e
n
)=
⌠
⌡
1
0
f
(
x
)
e
n
(
x
)
dx
.
10.
⌠
⌡
1
0
u
′
v
′
dx
+
⌠
⌡
1
0
e
x
u
v
dx
=
⌠
⌡
1
0
x
v
dx
.
File translated from T
E
X by
T
T
H
, version 4.03.
On 19 Apr 2023, 19:12.