Letbe the unit square,Consider the two-dimensional Laplace equation
Write a MATLAB function [x y u] = laplacej(g,n,maxiter) that uses the Jacobi iteration to approximate the solution to Equation 20.27 and creates a surface plot.
The exact solution with
Plot the solution using the MATLAB function ezsurf.
Plot the solution by applying laplacej withand numiter
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here