• Aucun résultat trouvé

print("x "+str(x)+&#34

N/A
N/A
Protected

Academic year: 2022

Partager "print("x "+str(x)+&#34"

Copied!
1
0
0

Texte intégral

(1)

import math

from math import sqrt beaucoup = 1000

def psi(x):

somme = 0.0

for n in range(1, beaucoup):

somme = somme + math.exp(- float(n)**2 * math.pi * x) return somme

print("psi de Riemann de 1 a 100") for x in range(1,1000):

res1 = psi(float(x)) print('')

print("x "+str(x)+" psi(x) "+str(res1)) res1 = 2.0*res1+1.0

print("x "+str(x)+" 2psi(x)+1 "+str(res1)) res2 = 2.0*psi(1.0/float(x))+1.0

print(" 2psi(1/x)+1 "+str(res2)) res2 = res2/sqrt(x)

print(" x^(-1/2)*(2psi(1/x)+1) "+str(res2))

Références

Documents relatifs

[r]

result in the ase of the mean urvature equation: uniqueness for smooth solutions implies. omparison in the lass of disontinuous visosity solutions (see [6℄ for

Such a delegation is represented by a delegated block object, having the assigned IP network numbers as subordinates. Also, part of the block can be further delegated to

Historically, designers and implementers of application protocols have often distinguished between standardized and unstandardized parameters by prefixing the names

[r]

Donner une estimation ponctuelle du nombre moyen de bonnes réponses dans la population étudiée.. Donner une estimation ponctuelle de l'écart-type de

[r]

Tabelle chemischer Beständigkeit Chemical resistance guide Tabela de resistencia quimica Các kháng hóa chất 2/16.. Safenwil Schweiz spear 2 www.wiap.ch idee of /