﻿from math import *
def archimede(n):
    c=1
    nb_cotes=6
    for i in range(2, n+1):
        c=sqrt(c**2/4+(1-sqrt(1-c**2/4))**2)
        nb_cotes=nb_cotes*2
    return(nb_cotes*c/2)