From b9245625aa1731184262c0b6042498d8465d1b87 Mon Sep 17 00:00:00 2001 From: af867c30e46f4b444ec768838323b91d Date: Sat, 6 Jun 2020 10:11:29 +0000 Subject: [PATCH] no commit message --- module2/exo1/toy_notebook_en.ipynb | 41 +++++++++++++++++++++++++----- 1 file changed, 34 insertions(+), 7 deletions(-) diff --git a/module2/exo1/toy_notebook_en.ipynb b/module2/exo1/toy_notebook_en.ipynb index fa92dc9..eefd507 100644 --- a/module2/exo1/toy_notebook_en.ipynb +++ b/module2/exo1/toy_notebook_en.ipynb @@ -2,7 +2,25 @@ "cells": [ { "cell_type": "code", - "execution_count": 10, + "execution_count": 15, + "metadata": {}, + "outputs": [], + "source": [ + "# On the computation of $\\pi$" + ] + }, + { + "cell_type": "code", + "execution_count": 17, + "metadata": {}, + "outputs": [], + "source": [ + "## Asking the maths library" + ] + }, + { + "cell_type": "code", + "execution_count": 18, "metadata": {}, "outputs": [ { @@ -15,12 +33,21 @@ ], "source": [ "from math import *\n", - "print(pi)\n" + "print(pi)" + ] + }, + { + "cell_type": "code", + "execution_count": 21, + "metadata": {}, + "outputs": [], + "source": [ + "## Buffon's needle" ] }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 22, "metadata": {}, "outputs": [ { @@ -29,7 +56,7 @@ "3.128911138923655" ] }, - "execution_count": 11, + "execution_count": 22, "metadata": {}, "output_type": "execute_result" } @@ -45,7 +72,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 23, "metadata": {}, "outputs": [ { @@ -78,7 +105,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 24, "metadata": {}, "outputs": [ { @@ -87,7 +114,7 @@ "3.112" ] }, - "execution_count": 13, + "execution_count": 24, "metadata": {}, "output_type": "execute_result" } -- 2.18.1