07-Jan-2022 18:59:05 dg1d_poisson_test(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2 dg1d_poisson() applies the Discontinuous Galerkin Method (DG) to a 1D Poisson problem. 0.0 < x < 1.0 Number of subintervals = 4 Number of monomials in expansion = 3 Penalty parameter = 1 DG choice = 1 I X(I) U(X(I)) Uh(X(I)) 1 0.000000 1.000000 1.014693 2 0.062500 0.933845 0.946964 3 0.125000 0.861434 0.881247 4 0.187500 0.784432 0.817542 5 0.250000 0.704560 0.755849 6 0.250000 0.704560 0.820276 7 0.312500 0.623535 0.685934 8 0.375000 0.543009 0.559134 9 0.437500 0.464511 0.439877 10 0.500000 0.389400 0.328162 11 0.500000 0.389400 0.422528 12 0.562500 0.318834 0.332850 13 0.625000 0.253738 0.244604 14 0.687500 0.194795 0.157789 15 0.750000 0.142446 0.072407 16 0.750000 0.142446 0.142350 17 0.812500 0.096894 0.091486 18 0.875000 0.058130 0.045635 19 0.937500 0.025952 0.004798 20 1.000000 0.000000 -0.031026 Graphics information saved in "dg1d_poisson_test.png" dg1d_poisson_test(): Normal end of execution. 07-Jan-2022 18:59:10