def somme2(A): S=0 n=0 for i in range(A+1): S=S+7800*1.0152**i return S