Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,9 @@
|
|||
module ``Trabb Pardo - Knuth``
|
||||
open System
|
||||
let f (x: float) = sqrt(abs x) + (5.0 * (x ** 3.0))
|
||||
|
||||
Console.WriteLine "Enter 11 numbers:"
|
||||
[for _ in 1..11 -> Convert.ToDouble(Console.ReadLine())]
|
||||
|> List.rev |> List.map f |> List.iter (function
|
||||
| n when n <= 400.0 -> Console.WriteLine(n)
|
||||
| _ -> Console.WriteLine("Overflow"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue