In: Advanced Math
Suppose we have a rod of material of conductivity K =
1
and situated on the x-axis, for 0 ≤ x ≤ 1. Suppose further that the
rod is
laterally insulated, but has a known internal heat source f(x). The
left and
right ends of the rod are held at 0 ◦C (degrees Celsius). With n =
5
Solve the linear system in Jupyter using Gauss-Jordan Elimination.
See the notes on
the first problem of this set for hints on how to use and report
the results from Gauss-Jordan Elimination.
This equation can be
understood as balancing the flow of heat from a node to its
neighbors:
−yi−1 + 2yi − yi+1 = h2/k f(xi)