One Dimensional Dirichlet
Not what you're looking for?
Consider the one-dimensional Dirichlet problem
v_xx = f(x) on (0,1)
v(0) = v(1) = 0
with f(x) = cos(x) and true solution v(x) = -f(x) + x*(f(1.0)-1.0)+1.0. Implement V-cycle multigrid algorithm to solve the above problem. On each level of multigrid use Gauss-Seidel algorithm to solve the system of equations.
Use the following parameters:
- m = 7 - the number of grids to be employed;
- n - number of interior grid points (n = 2^m - 1), ie. finest grid has n = 127;
- k = 2.10 - the number of iterations to be performed in each Gauss-Seidel method;
Use linear interpolation for prolongation operation (I_2h)^h and injection for restriction operation (I_h)^2h.
Perform multigrid V-cycle for each value of k and print out maximum error (mx v_i) for each case.
Purchase this Solution
Solution Summary
One dimensional dirichlet is examined.
Solution Preview
I have posted the solution in a zip file containing all .m files used. You need to simply ...
Purchase this Solution
Free BrainMass Quizzes
Probability Quiz
Some questions on probability
Exponential Expressions
In this quiz, you will have a chance to practice basic terminology of exponential expressions and how to evaluate them.
Know Your Linear Equations
Each question is a choice-summary multiple choice question that will present you with a linear equation and then make 4 statements about that equation. You must determine which of the 4 statements are true (if any) in regards to the equation.
Solving quadratic inequalities
This quiz test you on how well you are familiar with solving quadratic inequalities.
Graphs and Functions
This quiz helps you easily identify a function and test your understanding of ranges, domains , function inverses and transformations.