diff options
author | hanemile <hanemile@chaosdorf.de> | 2018-09-28 18:20:07 +0200 |
---|---|---|
committer | hanemile <hanemile@chaosdorf.de> | 2018-09-28 18:20:07 +0200 |
commit | d3401f4e1b42ce7fab780062b18c3ca2959edbd0 (patch) | |
tree | edb98fe0df5cbdc4ae37cb920a31d8d0e9e40926 | |
parent | 13a6375482f38353a3dcf2fc9f1be00a789ce9c8 (diff) |
imported some missing packets
-rw-r--r-- | force.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/force.go b/force.go index 47bbed3..aac2e8e 100644 --- a/force.go +++ b/force.go @@ -2,11 +2,13 @@ package main import ( "math" + "fmt" + "ioutil" ) // forces_acting calculates the force inbetween the two given stars s1 and s2 // The function return the force -func forces_acting(s1 star, s2 star) force { +func force_acting(s1 star, s2 star) force { // Gravitational constant var G float64 = 6.674 * math.Pow(10, -11) |