Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,15 +0,0 @@
|
|||
$e0 = 0
|
||||
$e = 2
|
||||
$n = 0
|
||||
$fact = 1
|
||||
while([Math]::abs($e-$e0) -gt 1E-15){
|
||||
$e0 = $e
|
||||
$n += 1
|
||||
$fact *= 2*$n*(2*$n+1)
|
||||
$e += (2*$n+2)/$fact
|
||||
}
|
||||
|
||||
Write-Host "Computed e = $e"
|
||||
Write-Host " Real e = $([Math]::Exp(1))"
|
||||
Write-Host " Error = $([Math]::Exp(1) - $e)"
|
||||
Write-Host "Number of iterations = $n"
|
||||
Loading…
Add table
Add a link
Reference in a new issue