Design Con 2015
Breaking News
Comments
Newest First | Oldest First | Threaded View
<<   <   Page 2 / 3   >   >>
Max The Magnificent
User Rank
Blogger
Re: Take a walk on the wild side...
Max The Magnificent   2/24/2014 2:47:12 PM
NO RATINGS
@mhrackin: I forgot to mention that this required ONLY integer math!

Oooh -- now you're talking my language :-)


Max The Magnificent
User Rank
Blogger
Re: Take a walk on the wild side...
Max The Magnificent   2/24/2014 2:46:16 PM
NO RATINGS
@mhrackin: This "problem" was solved COMPLETELY about 2500 years ago.  The Jewiah calendar is  so-called "solunar"one

I've heard of this, but I have to admit that I'd then forgotten all about it. I will take a look -- it would be interesting to see how well that syncs with my current algorithm.

mhrackin
User Rank
CEO
Re: Take a walk on the wild side...
mhrackin   2/24/2014 2:41:44 PM
NO RATINGS
I forgot to mention that this required ONLY integer math!

mhrackin
User Rank
CEO
Re: Take a walk on the wild side...
mhrackin   2/24/2014 2:39:59 PM
This "problem" was solved COMPLETELY about 2500 years ago.  The Jewiah calendar is  so-called "solunar"one.  To maintain the Jewish festivals in the correct seasons, and to circumvent the original method of having "spotters" to identify new moons (the demarcation that defined the first evening of each month), the rabbis came up with a calculated calendar that is based on a 19-year cycle, with some years having 12 months, others with 13. The months themselves can have either 29 or 30 days.  It's incredibly accurate, and has maintained solar and lunar average synch ever since!  Try looking up the details! It's both fairly complex in implementation, but astoundingly simple conceptually!  It actually has fewer "prototype" pages in the 19-year "perpetual" version than the present adjusted Gregorian.

Max The Magnificent
User Rank
Blogger
Re: Take a walk on the wild side...
Max The Magnificent   2/24/2014 12:42:18 PM
NO RATINGS
@Stargzer: Beware the difference between the two definitions of Blue Moon!  The newer one is two full moons in a month, the other is the third of four full moons in a season.

I think I'm on top of this -- I have no truck with the new definition -- I hold to the original definition that it's the third of four full moons in a season.

There's also the problem that the Maine Farmer's Almanac, referenced by a lot of discussions on this topic, defined the start of each season according to the Right Ascension of the Mean Sun -- an idealised, fictional Sun which moves at a uniform speed, giving seasons of equal length. By comparison, the start of the astronomical seasons are defined according to the actual position of the Sun against the fixed stars, which leads to seasons of unequal length. I'm going with the astronomers on this one.

Thank goodness this isn't complicated LOL

Stargzer
User Rank
CEO
Re: Take a walk on the wild side...
Stargzer   2/24/2014 12:26:01 PM
NO RATINGS
Max said:  Now I'm moving on to calculating the date of the next blue moon (watch thsi space).

Beware the difference between the two definitions of Blue Moon!  The newer one is two full moons in a month, the other is the third of four full moons in a season.  Also note that sometimes astronomical tables reference UTC (Uniform Time Coordinated), which is close enought to GMT for the rest of us.  So something that happens in England can be on a different local date in the US (and elsewhere!).

Wikipedia has a good discussion on this topic, including the origin of the first definition by a misinterpretation of the second in a 1946 article in Sky & Telescope magazine.  A later Sky & Telescope article (referenced in the WIkipedia article) goes into more detail.

Happy Computing!

Max The Magnificent
User Rank
Blogger
Re: Take a walk on the wild side...
Max The Magnificent   2/22/2014 11:50:10 AM
NO RATINGS
@Garcia: Is the problem related with the reference day you took?

Nope -- check out the other comments to see where my problem lay.

I've since verified my algorithm (using the synodic month) for multiple reference full moons from 1900 through to 2014 -- also I've tried it for ones that started as early as 0:13 in the morning and as late as 23:18 at night (just to check that small errors didn't creap up on me) and thus far it's worked in all cases.

Now I'm moving on to calculating the date of the next blue moon (watch thsi space).

Max The Magnificent
User Rank
Blogger
Re: Take a walk on the wild side...
Max The Magnificent   2/22/2014 11:46:15 AM
NO RATINGS
@ElizabethSimnon: the problem is that you used a sideral month instead of a lunar month (29.53059 days)

You've got it -- I was using the sidereal month with a value of 27.321661 days, when I should have been using the synodic month value of 29.530588 days.

When I was laying in bed working this through in my mind, I knew that my algorithm was being calculated correctly -- by a process of elimination I realized that the only factor remaining was the value I was using for the period of the monthy cycle, so I went back to the web and looked up "lunar cycles" and saw a bunch of entries, including the difference in the definitions of sidereal and synodic months.

I was both "high-fiving" and kicking myself at the same time :-)

Garcia-Lasheras
User Rank
Blogger
Re: Take a walk on the wild side...
Garcia-Lasheras   2/22/2014 8:48:08 AM
NO RATINGS
Here is my WAG...

Is the problem related with the reference day you took?

If the sideral month 27.321661, and if we assign a integer "label" to each full moon, there will be potential reference days that deviate from its real value. i.e. we will need to assign a real "label" to every reference full moon or, alternatively, take a a reference full moon day in which the "label" is as close to a integer number as possible.

elizabethsimon
User Rank
CEO
Re: Take a walk on the wild side...
elizabethsimon   2/21/2014 8:27:43 PM
NO RATINGS
the problem is that you used a sideral month instead of a lunar month (29.53059 days). The sideral month would work were it not for the fact that the earth is also moving around the sun....

But what if your inamora is affected by new moons instead of full moons?

 

<<   <   Page 2 / 3   >   >>


Top Comments of the Week
Flash Poll
Like Us on Facebook

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
EE Life
Frankenstein's Fix, Teardowns, Sideshows, Design Contests, Reader Content & More
Carlos Bueno

Adventures in Userland
Carlos Bueno
Post a comment
Editor’s Note: Excerpted from Lauren Ipsum: A Story About Computer Science and Other Improbable Things, author Carlos Bueno introduces us to Lauren and her adventures in Userland. ...

Max Maxfield

Tired Old iPad 2 vs. Shiny New iPad Air 2
Max Maxfield
9 comments
I remember when the first iPad came out deep in the mists of time we used to call 2010. Actually, that's only four years ago, but it seems like a lifetime away -- I mean; can you remember ...

Martin Rowe

Make This Engineering Museum a Reality
Martin Rowe
Post a comment
Vincent Valentine is a man on a mission. He wants to make the first house to ever have a telephone into a telephone museum. Without help, it may not happen.

Rich Quinnell

Making the Grade in Industrial Design
Rich Quinnell
16 comments
As every developer knows, there are the paper specifications for a product design, and then there are the real requirements. The paper specs are dry, bland, and rigidly numeric, making ...

Special Video Section
The LT8640 is a 42V, 5A synchronous step-down regulator ...
The LTC2000 high-speed DAC has low noise and excellent ...
How do you protect the load and ensure output continues to ...
General-purpose DACs have applications in instrumentation, ...
Linear Technology demonstrates its latest measurement ...
10:29
Demos from Maxim Integrated at Electronica 2014 show ...
Bosch CEO Stefan Finkbeiner shows off latest combo and ...
STMicroelectronics demoed this simple gesture control ...
Keysight shows you what signals lurk in real-time at 510MHz ...
TE Connectivity's clear-plastic, full-size model car shows ...
Why culture makes Linear Tech a winner.
Recently formed Architects of Modern Power consortium ...
Specially modified Corvette C7 Stingray responds to ex Indy ...
Avago’s ACPL-K30T is the first solid-state driver qualified ...
NXP launches its line of multi-gate, multifunction, ...
Doug Bailey, VP of marketing at Power Integrations, gives a ...
See how to ease software bring-up with DesignWare IP ...
DesignWare IP Prototyping Kits enable fast software ...
This video explores the LT3086, a new member of our LDO+ ...
In today’s modern electronic systems, the need for power ...