scala> val perigee : Double = 363300.0
val perigee: Double = 363300.0
scala> val apogee : Double = 40418.0
val apogee: Double = 40418.0
scala> val bigAxis = (apogee+perigee)/2.0
val bigAxis: Double = 201859.0
scala> val focus = (apogee-perigee)/2.0
val focus: Double = -161441.0
scala> val littleAxis = Math.sqrt(apogee*perigee)
val littleAxis: Double = 121176.97553578402
scala>
scala> val area = Math.PI * (bigAxis+littleAxis) * Math.sqrt(apogee*perigee) / 2.0
val area: Double = 6.14880721644881E10
61488072164.488100
int littleAxis = (int) Math.sqrt(apogee*perigee);
psql.exe -h 127.0.0.1 -U postgres -w [db_name]
$ sudo -u postgres bash