Skip to content

Commit 72c4d99

Browse files
Update README.md
fixed typo in sinking speed formula
1 parent 28ed2de commit 72c4d99

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Project4/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Note that in order to conserve total phytoplankton in our domain, it necessary t
5050
λ = 0.1
5151
w₀ = 0.05
5252

53-
w_sinking(x, y, z, params) = - params.w₀ * (tanh(z/params.λ) - tanh((-z - 1)/params.λ) - 1)
53+
w_sinking(x, y, z, params) = - params.w₀ * (tanh(z/params.λ) - tanh((z - 1)/params.λ) - 1)
5454

5555
sinking_velocity = Oceananigans.Fields.FunctionField{Center, Center, Center}(w_sinking, grid; parameters = (; λ, w₀))
5656
```

0 commit comments

Comments
 (0)