{ "cells": [ { "cell_type": "markdown", "metadata": { "hideCode": true }, "source": [ "# A propos de $ pi$" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "$pi$=périmètre d'un cercle /Diamèt\n", "\n", "$pi$= 22/7" ] }, { "cell_type": "code", "execution_count": 7, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "3.141592653589793" ] }, "execution_count": 7, "metadata": {}, "output_type": "execute_result" } ], "source": [ "from math import pi\n", "pi" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "lien wikipédia pour comprendre l'aiguilles de Buffon : https://fr.wikipedia.org/wiki/Aiguille_de_Buffon" ] }, { "cell_type": "code", "execution_count": 15, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "3.128911138923655" ] }, "execution_count": 15, "metadata": {}, "output_type": "execute_result" } ], "source": [] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.6.4" } }, "nbformat": 4, "nbformat_minor": 2 }