Click here to Skip to main content
14,643,383 members
Rate this:
Please Sign up or sign in to vote.
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.
Rate this:
Please Sign up or sign in to vote.

Solution 1

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.
   
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.
Rate this:
Please Sign up or sign in to vote.

Solution 2

   
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..
Thomas Daniels 5-Jan-14 3:19am
   
Thank you!
CPallini 5-Jan-14 6:06am
   
5.
Thomas Daniels 5-Jan-14 6:08am
   
Thank you!
Bakhos Sayssouk 11-Jan-14 10:28am
   
this methods are on windows forms C#??. for example "trig" isn't exist in c#. i have a site for windows forms,thank you.
Thomas Daniels 11-Jan-14 10:37am
   
That problem has nothing to do with Windows Forms, the actual problem is that you need to create the Trig class also. Here you find all Astronomical calculation Tutorials, I think you'll find the Trig class there.
Bakhos Sayssouk 11-Jan-14 11:03am
   
yes thank you very much. :)

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100