Esempio n. 1
0
func ExamplePhaseAngleEq() {
	const p = math.Pi / 180
	i := moonillum.PhaseAngleEq(134.6885*p, 13.7684*p, 368410,
		20.6579*p, 8.6964*p, 149971520)
	fmt.Printf("i = %.4f\n", i/p)
	// Output:
	// i = 69.0756
}
Esempio n. 2
0
func ExamplePhaseAngleEq() {
	i := moonillum.PhaseAngleEq(
		unit.RAFromDeg(134.6885),
		unit.AngleFromDeg(13.7684),
		368410,
		unit.RAFromDeg(20.6579),
		unit.AngleFromDeg(8.6964),
		149971520)
	fmt.Printf("i = %.4f\n", i.Deg())
	// Output:
	// i = 69.0756
}