﻿from math import *

def Approx(n):
    c=sqrt(2)
    for i in range(1,n-1):
        OH=sqrt((1-0.25*c**2))
        c=sqrt((1-OH)**2+0.25*c**2)
    mp=2**(n-1)*c
    return mp



