Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
1
Task/Eulers-identity/F-Sharp/eulers-identity-1.fs
Normal file
1
Task/Eulers-identity/F-Sharp/eulers-identity-1.fs
Normal file
|
|
@ -0,0 +1 @@
|
|||
printfn "-1 + 1 = %d" (-1+1)
|
||||
1
Task/Eulers-identity/F-Sharp/eulers-identity-2.fs
Normal file
1
Task/Eulers-identity/F-Sharp/eulers-identity-2.fs
Normal file
|
|
@ -0,0 +1 @@
|
|||
printfn "cos(pi)=%f and sin(pi)=%f" (cos 3.141592653589793) (sin 3.141592653589793)
|
||||
4
Task/Eulers-identity/F-Sharp/eulers-identity-3.fs
Normal file
4
Task/Eulers-identity/F-Sharp/eulers-identity-3.fs
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
let i =MathNet.Numerics.complex(0.0,1.0);;
|
||||
let pi=MathNet.Numerics.complex(MathNet.Numerics.Constants.Pi,0.0);;
|
||||
let e =MathNet.Numerics.complex(MathNet.Numerics.Constants.E ,0.0);;
|
||||
printfn "e**(i*pi) = %A" (e**(i*pi));;
|
||||
Loading…
Add table
Add a link
Reference in a new issue