[Solved] M232 Homework 2-explicit relationship between Greens function and the inverse of the matrix

$25

File Name: M232_Homework_2-explicit_relationship_between_Greens_function_and_the_inverse_of_the_matrix.zip
File Size: 857.22 KB

SKU: [Solved] M232 Homework 2-explicit relationship between Green’s function and the inverse of the matrix Category: Tag:
5/5 - (1 vote)
  1. This problem allows you to see the explicit relationship between Greens function and the inverse of the matrix A in the finite difference method.
    • Write out the 5 5 matrix A from (2.43) for the boundary value problem u00(x) = f(x) with u(0) = u(1) = 0 for h = 0.
    • Analytically find the inverse matrix A1 explicitly for this problem.
    • Use your result from (b) to determine the discrete approximation to the solution of theboundary value problem with f(x) = x on this grid. Plot this solution and the five Greens functions whose sum gives this solution.
  2. This problem makes use of the bvp 2.m code to study an ill-posed boundary value problem.

Consider the following linear boundary value problem with Dirichlet boundary conditions:

u00(x) + u(x) = 0 for a < x < b u(a) = , u(b) = .

Note that this equation arises from a linearized pendulum, for example.

  • Modify the m-file bvp 2.m to solve this problem. Test your modified routine on the problem with
    • = 0, b = 1, = 2, = 3.

Determine the exact solution for comparison.

  • Let a = 0 and b = . For what values of and does this boundary value problem have solutions? Sketch a family of solutions in a case where there are infinitely many solutions.
  • Solve the problem with
    • = 0, b = , = 1, = 1.

using your modified bvp 2.m. Which solution to the boundary value problem does this appear to converge to as h 0? Change the boundary value at b = to = 1. Now how does the numerical solution behave as h 0?

  • You might expect the linear system in part (c) to be singular since the boundary valueproblem is not well posed. It is not because of discretization error. Compute the eigenvalues of the matrix A for this problem and show that an eigenvalue approaches 0 as h 0. Also show that kA1k2 blows up as h 0 so that the discretization is unstable.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] M232 Homework 2-explicit relationship between Greens function and the inverse of the matrix
$25