[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

moon-rise calculation

Posted on 2001-08-24
8
Medium Priority
?
1,649 Views
Last Modified: 2007-11-27
I have written a calendar programm in VB4.
Now I want to add the moonrise and moonset function for any date.
To do this for a certain date, one must know basically 3 figures:
Latitude, longitude and the Time zone of the place.
All theese are of course easily known.
Now, does anyone know the algorithms or the way to computate the moonrise/set times?
(Or at least the Right Ascension and Declination of the moon?)
 
0
Comment
Question by:giann
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 39

Expert Comment

by:appari
ID: 6421137
goto this page and you can find many bas files related to calculations in astronamy.

for your purpose see moonup.bas
http://www.skypub.com/resources/software/basic/basic.html#list

hope this helps you.
0
 
LVL 39

Expert Comment

by:appari
ID: 6421139
all these programs are in basic, i hope it is not that much difficulty to convert them to VB

0
 
LVL 11

Accepted Solution

by:
Otana earned 900 total points
ID: 6421146
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:giann
ID: 6421199
1. Moonup.bas is in Basic. I have already tryied to convert it without success.

2.In http://aa.usno.navy.mil/data/docs/RS_OneDay.html there is not the computation algorithm.
0
 
LVL 11

Expert Comment

by:Otana
ID: 6421241
This link seems to have the formulas you need:

http://hotel04.ausys.se/pausch/comp/riset.html#4

It is not code, just formulas.
0
 

Author Comment

by:giann
ID: 6421335
Answer to Otana:
I have already look in http://hotel04.ausys.se/pausch/comp/riset.html#4
No success!
Thanks.
0
 

Author Comment

by:giann
ID: 6423070
As appari wrote above, in the site:
http://www.skypub.com/resources/software/basic/basic.html#list
exists the file that interests me - MOONUP.BAS - but it is in Basic. Can somebody please convert it to VB4 code?
0
 
LVL 8

Expert Comment

by:DennisBorg
ID: 6423826
:ping:
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question