Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
1.08/5 (4 votes)
See more:
in my project I want to calculate the position of the sun and the moon each time. gives us the longitude and latitude on the earth and date. and ecliptic latitude of the sun is 0.
Posted
Updated 4-Jan-14 22:05pm
v3
Comments
Nelek 4-Jan-14 13:07pm    
You are lucky that you found two nice people answering you with good links. I strongly recommend you to read following links as well:
What have you tried?[^]
How to ask a question?[^]
Some guidelines for posting questions in the forums[^]

because next time you might not find the same users again.
BillWoodruff 5-Jan-14 4:08am    
Since this post has received two excellent answers, in order to make sure that other CP members are not discouraged from reading it ... and benefiting from those answers ... I have removed an edit to the title, and tags added, by another editor which express their view the question is not valuable.

Here is a really good reference[^] for the formula's and algorithms that you need.

BTW, you need to try to implement these on your own, we will help when you get stuck, but don't just ask for the code unless you are willing to pay.
 
Share this answer
 
Comments
Thomas Daniels 4-Jan-14 11:59am    
+5, that's indeed a very good reference for the algorithms.
Ron Beyer 4-Jan-14 12:04pm    
Thanks!
Karthik_Mahalingam 4-Jan-14 16:10pm    
5, excellent resource..
Ron Beyer 4-Jan-14 17:43pm    
Thank you.
CPallini 5-Jan-14 6:06am    
5.
 
Share this answer
 
Comments
Ron Beyer 4-Jan-14 11:58am    
+5, good links.
Thomas Daniels 4-Jan-14 11:59am    
Thank you!
Bakhos Sayssouk 4-Jan-14 14:10pm    
thank you :)
Thomas Daniels 4-Jan-14 14:21pm    
You're welcome!
Karthik_Mahalingam 4-Jan-14 16:09pm    
nice link..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900