Compare commits

..

No commits in common. "main" and "janitaws/plot-and-latex" have entirely different histories.

3 changed files with 9 additions and 9 deletions

View File

@ -10,29 +10,29 @@ Make sure that you are inside the **src** directory before compiling the code.
Now you can execute the command shown under to compile: Now you can execute the command shown under to compile:
``` ´´´
make make
``` ´´´
This will create object files and link them together into 2 executable files. This will create object files and link them together into 2 executable files.
These files are called **main** and **analyticPlot**. These files are called **main** and **analyticPlot**.
To run them, you can simply use the commands below: To run them, you can simply use the commands below:
``` ´´´
./main ./main
``` ´´´
``` ´´´
./analyticPlot ./analyticPlot
``` ´´´
## How to generate plots ## How to generate plots
For generating the plots, there are 4 Python scripts. For generating the plots, there are 4 Python scripts.
You can run each one of them by using this command: You can run each one of them by using this command:
``` ´´´
python <PythonFile> python <PythonFile>
``` ´´´
The plots will be saved inside **latex/images**. The plots will be saved inside **latex/images**.

Binary file not shown.

View File

@ -2,7 +2,7 @@
\subsection*{a)} \subsection*{a)}
% Link to relevant files on gh and possibly add some comments % Link to relevant files on gh and possibly add some comments
The code can be found at https://github.uio.no/FYS3150-G2-2023/Project-1/blob/main/src/generalAlgorithm.cpp The code can be found at https://github.uio.no/FYS3150-G2-2023/Project-1/blob/coryab/final-run/src/generalAlgorithm.cpp
\subsection*{b)} \subsection*{b)}
Increasing the number of steps results in an approximation close to the exact solution. Increasing the number of steps results in an approximation close to the exact solution.