poisson_1d_steady
Location: http://people.sc.fsu.edu/~jburkardt/classes/math1091_2020/poisson_1d_steady/poisson_1d_steady.html
poisson_1d_steady,
presents computational methods for approximating the solution of the
steady Poisson equation in 1 spatial dimension.
The notes:
Exercises: Look at these after you have tried to do the
work on your own.
-
exercise1.txt,
write out the equations for a discretized Poisson equation.
-
exercise2.m,
set up, solve, and plot the discretized Poisson equation.
-
exercise2.png,
a plot of the solution for exercise2.
-
poisson_solve.m,
a function to set up and solve the linear system for
a Poisson problem.
-
exercise3.m,
use poisson_solve() to set up and solve the linear system
for a Poisson problem.
-
exercise3.png,
a plot of the solution for exercise3.
-
exercise4.m,
doing a better job of plotting the results.
-
exercise4.png,
a plot of the solution for exercise4.
-
exercise5.m,
computes the solution for many values of n,
and then plots the error.
-
exercise5.png,
a plot of the error as a function of n.
Homework: My version posted after you have turned yours in.
Images:
Last revised on 08 May 2020.