exB: add markup
This commit is contained in:
parent
01ad60042d
commit
e41e132b60
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ for different values of the number of steps.
|
||||||
**TASKS**:
|
**TASKS**:
|
||||||
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