Home /
Expert Answers /
Advanced Math /
book-problem-4-6-the-book-is-introduction-to-partial-differential-equations-a-computational-approach-pa149

Book problem 4.6(The book is Introduction to Partial Differential Equations A Computational Approach by Aslak Tveito Ragnar Winther) except you will not run the code. Your task is to develop the discrete equations, especially the new equations associated with the derivative boundary conditions. Then you will explicitly write down the matrix A, the right hand side vector, B. The right hand side vector is that associated with known data and the initial value function, f(x). As indicated in the book problem, use the function of Example 3.5, but just to build the explicit data vector of initial values.

EXAMPLE 3.5 We want to solve (3.37) with the initial data $f(x)=9+3cos(?x)+5cos(4?x)$ Since this function is written in the form (3.53), the Fourier coefficients are easily found, and the solution of $(3.20)$ is given by $u(x,t)=9+3e_{??_{2}t}cos(?x)+5e_{?16?_{2}t}cos(4?x).$ This solution is graphed, as a function of $x$, in Fig. 3.6 for $t=0,0.01,0.1$. You can observe from the figure that the Neumann-type boundary conditions are satisfied. EXERCISE 4.6 Derive an explicit scheme for the following Neumann problem: $u_{t}u_{x}(0,t)u(x,0)?=u_{xx}forx?(0,1),t>0,=u_{x}(1,t)=0,=f(x).?$ Use the analytical solution given in Example 3.5 on page 101 to check the quality of your approximations.

SOLUTION:-According to the given informat