\section*{Problem 2}

The code for generating the points and plotting them can be found under.

Point generator code: https://github.uio.no/FYS3150-G2-203/Project-1/blob/main/src/analyticPlot.cpp

Plotting code: https://github.uio.no/FYS3150-G2-2023/Project-1/blob/main/src/analyticPlot.py

Here is the plot of the analytical solution for $u(x)$.

\includegraphics[scale=.5]{analytical_solution.pdf}
