adjust list formatting
This commit is contained in:
parent
46da504eba
commit
8b58bbdef9
|
@ -14,6 +14,7 @@ relative differences between the analytic result and the numerical result
|
|||
for different values of the number of steps.
|
||||
|
||||
**TASKS**:
|
||||
|
||||
0. Read `numerical_integration.py` and familiarize yourselves with the code.
|
||||
1. Update the `main` function so that it calculates the numerical error without
|
||||
any parallelization. You can use a for loop or `map`.
|
||||
|
@ -23,5 +24,6 @@ for different values of the number of steps.
|
|||
What speed-up did you get?
|
||||
|
||||
**BONUS TASKS (very optional)**:
|
||||
|
||||
5. Implement a parallel version with threads (using `multiprocessing.pool.ThreadPool`).
|
||||
6. Time this version, and hypothetize about the result.
|
||||
|
|
Loading…
Reference in a new issue