(b) Solution: u(x) = log x+ 1
log 2 −x;
0.2 0.4 0.6 0.8 1
0.02
0.04
0.06
0.08
finite element sample
values: ( 0., .03746, .06297, .07844, .08535, .08489, .07801, .06549, .04796, .02598,0.);
maximal error at sample points .00007531; maximal overall error: .001659.
maximal error at sample points .002175; maximal overall error: .01224.
(d) Solution: u(x) = e2+ 1 −2e1−x
e2−1−x;
-1 -0.5 0.5 1
0.1
0.2
0.3
0.4
finite element
sample values: ( 0., .2178, .3602, .4407, .4706, .4591, .4136, .3404, .2444, .1298,0.);
maximal error at sample points .003143; maximal overall error: .01120.
♣11.6.3.
(a) The finite element sample values are c= ( 0, .096, .168, .192, .144,0 )T.
♣11.6.4. The only difference is the last basis function, which should changed to
>
>
>
>
>
<
x−xn−2
xn−1−xn−2
, xn−2≤x≤xn−1,
342