Example #1
0
func ExampleSaturn() {
	// Example 41.d, p. 285
	v := illum.Saturn(9.867882, 10.464606, 16.442*math.Pi/180, 4.198*math.Pi/180)
	fmt.Printf("%+.1f\n", v)
	// Output:
	// +0.9
}
Example #2
0
func ExampleSaturn() {
	// Example 41.d, p. 285
	v := illum.Saturn(9.867882, 10.464606,
		unit.AngleFromDeg(16.442), unit.AngleFromDeg(4.198))
	fmt.Printf("%+.1f\n", v)
	// Output:
	// +0.9
}