Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,14 +0,0 @@
|
|||
function agm ([Double]$a, [Double]$g) {
|
||||
[Double]$eps = 1E-15
|
||||
[Double]$a1 = [Double]$g1 = 0
|
||||
while([Math]::Abs($a - $g) -gt $eps) {
|
||||
$a1, $g1 = $a, $g
|
||||
$a = ($a1 + $g1)/2
|
||||
$g = [Math]::Sqrt($a1*$g1)
|
||||
}
|
||||
[pscustomobject]@{
|
||||
a = "$a"
|
||||
g = "$g"
|
||||
}
|
||||
}
|
||||
agm 1 (1/[Math]::Sqrt(2))
|
||||
Loading…
Add table
Add a link
Reference in a new issue