From 8b58bbdef918ac6d254c8a41769c91148b46872e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 30 Aug 2024 12:50:14 +0300 Subject: [PATCH] adjust list formatting --- exercises/exerciseB/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/exercises/exerciseB/README.md b/exercises/exerciseB/README.md index 40ab9e6..6728cc7 100644 --- a/exercises/exerciseB/README.md +++ b/exercises/exerciseB/README.md @@ -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.