exB: add markup
This commit is contained in:
parent
bc08d288c9
commit
e3dbd05bed
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ for different values of the number of steps.
|
||||||
|
|
||||||
0. Read `numerical_integration.py` and familiarize yourselves with the code.
|
0. Read `numerical_integration.py` and familiarize yourselves with the code.
|
||||||
1. Update the `main` function so that it calculates the numerical error without
|
1. Update the `main` function so that it calculates the numerical error without
|
||||||
any parallelization. You can use a for loop or `map`.
|
any parallelization. You can use a `for` loop or `map`.
|
||||||
2. Note the execution time for this serial implementation.
|
2. Note the execution time for this serial implementation.
|
||||||
3. Implement the parallel version using `multiprocessing.Pool`.
|
3. Implement the parallel version using `multiprocessing.Pool`.
|
||||||
4. Compare the timing for the parallel version with the serial time.
|
4. Compare the timing for the parallel version with the serial time.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue