If you haven't been able to use arccos, then perhaps you could try the Taylor series of cos: Taylor series - Wikipedia, the free encyclopedia
Hey guys first post here I'm a j2me developer using some maths for my weather application.
I'm trying to calculate the time of sunrise using this equation:
cos(ωo) = -tan(φ)×tan(δ)
this can be found at [link] Sunrise equation - Wikipedia, the free encyclopedia [/link] aswell as some other places
I know once I have ωo I can find the sunrise however, I dont understand the cos(ωo) bit. I just want the equation in the form
ωo = . . . .
any ideas how I factor out the cos()? I did try and do some inv cos functions but to no avail, any help much appreciated.
If you haven't been able to use arccos, then perhaps you could try the Taylor series of cos: Taylor series - Wikipedia, the free encyclopedia