Esempio n. 1
0
func ExamplePhaseAngle3() {
	// Example 41.a, p. 284
	i := illum.PhaseAngle3(26.10588*math.Pi/180, -2.62102*math.Pi/180,
		.621794, -.664905, -.033138, .910947)
	fmt.Printf("%.5f\n", math.Cos(i))
	// Output:
	// 0.29312
}
Esempio n. 2
0
func ExamplePhaseAngle3() {
	// Example 41.a, p. 284
	i := illum.PhaseAngle3(
		unit.AngleFromDeg(26.10588),
		unit.AngleFromDeg(-2.62102),
		.621794, -.664905, -.033138, .910947)
	fmt.Printf("%.5f\n", i.Cos())
	// Output:
	// 0.29312
}