Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
7
Task/Euler-method/Groovy/euler-method-3.groovy
Normal file
7
Task/Euler-method/Groovy/euler-method-3.groovy
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
def tNewton = { s, s0, t0, tR, k ->
|
||||
tR + (t0 - tR) * Math.exp(k * (s0 - s))
|
||||
}
|
||||
assert tNewton.maximumNumberOfParameters == 5
|
||||
|
||||
def tAnalytic = tNewton.rcurry(0, 100, 20, 0.07)
|
||||
assert tAnalytic.maximumNumberOfParameters == 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue