exB: add markup

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2025-09-23 15:33:47 +03:00
parent bc08d288c9
commit e3dbd05bed

View file

@ -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.