diff --git a/module2/exo2/exercice.ipynb b/module2/exo2/exercice.ipynb index d771c4a53e7ca4854fc9820153e5108de8c4aacc..b23f1151a79c463599cb5bf9bafefde20cdacc5f 100644 --- a/module2/exo2/exercice.ipynb +++ b/module2/exo2/exercice.ipynb @@ -1,8 +1,19 @@ { "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Logbook – Week 2\n", + "\n", + "This week, I used Jupyter and completed excersises 2.1, 2.2 and 2.3.\n", + "I estimated π, did simple stats like mean and standard deviation, and made a sequence plot and histogram. \n", + "The goal is to learn to keep code/tasks and notes in one place. \n" + ] + }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 6, "metadata": {}, "outputs": [ { @@ -32,7 +43,7 @@ "min_val = np.min(data)\n", "max_val = np.max(data)\n", "median_val = np.median(data)\n", - "std_val = np.std(data, ddof=1) # Important: ddof=1 for corrected estimate\n", + "std_val = np.std(data, ddof=1) \n", "\n", "print(\"Mean:\", round(mean_val, 2))\n", "print(\"Min:\", round(min_val, 2))\n",