Math problem.
Oct. 17th, 2004 04:27 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I need a formula that will tell me, for a given number of days in a year and a given number of days in a month, how many years it will take for the cycles to match up -- in other words, if we start with the new moon on the first day of the year, how many years until the new moon falls on that day again? (Assumption being that a month is shorter than a year.)
This is driving me crazy. Left-brainers, please help!
This is driving me crazy. Left-brainers, please help!
no subject
Date: 2004-10-17 04:36 pm (UTC)no subject
Date: 2004-10-17 04:38 pm (UTC)no subject
Date: 2004-10-17 04:38 pm (UTC)no subject
Date: 2004-10-17 04:39 pm (UTC)no subject
Date: 2004-10-17 05:07 pm (UTC)no subject
Date: 2004-10-17 07:09 pm (UTC)no subject
Date: 2004-10-17 04:57 pm (UTC)no subject
Date: 2004-10-17 05:05 pm (UTC)Are you making up your own cosmology?
Yep.
no subject
Date: 2004-10-17 04:59 pm (UTC)no subject
Date: 2004-10-17 05:01 pm (UTC)no subject
Date: 2004-10-17 05:04 pm (UTC)no subject
Date: 2004-10-18 02:16 pm (UTC)in 19 Mean Tropical Years (average time from one equinox/solsitce to the next of the same), there are 6939.6016 (mean solar) days; in 235 Mean Synodic Months (average time from one example of a particular moon phase to the next), there are 6939.6884 days. That's well and good, and pretty close a cycle, which is why many Earth lunar calendars are based on this cycle, the Metonic Cycle.
But it's not precise. For one thing, you probably want there to be exactly 6940 days in 19 years, not 6939.6016, in which case you've got 235.0105 mean synodic months, or off by almost a third of day from being an even number synodic months. If you use this cycle of 19 years/6040 days consistently, after 20 cycles, you'll expect 380 years, 138800 days, 4700 months.
What you'll actually get in 380 years is 138792.032 days, meaning the date you think is the vernal equinox now comes 8 days after the true vernal equinox. What you'll actually get in 138800 days is 4700.211 months, meaning the full moon will come 6 days before you expect, based on the calendar.
Also, I wrote this Luna-Solar Calculator. I f you ask it for a long count, it will give the length of the cycle that matches all cycles to an error no greater than 1%.
This was written before I spent most of this last summer on astrophysics and calendars, learning about all kinds of extra complications, but they're mostly pretty fiddly.
Does this mean we'll be getting some more ConWorld work from you soon?
no subject
Date: 2004-10-18 02:50 pm (UTC)I changed it so you could specify your acceptable margin of error. 1% is really rather high. But it gets really slow for values like 0.1%, depending on the exact numbers.
*math-related despair*
Date: 2004-10-18 02:52 pm (UTC)At present, I'm working with a 354-day year and a 22-day month, which gives an 11-year lunar-solar cycle. If I make them non-integers, is it going to be possible to insert "leap days" in such a way that the 11-year matchup doesn't get thrown off? I know it would be possible to just ignore the discrepancy and use the precession as another, longer cycle, but I really don't want that.
I need to see a real-world example of this, but I can't find a calendar that works this way.
And yes, this is for conworlding. Right now I'm sort of puzzling over how to give you what I have on the writing system. It seems excessive to hand you the whole dictionary (which isn't "complete", but it is fairly large)... maybe just the base characters, with examples of how the combinations work?
Re: *math-related despair*
Date: 2004-10-18 03:32 pm (UTC)Um, doubtful, but it depends.
You might want to look at what I've got for my Akalet Calendar. Is that a flavor of solution that is acceptable?
maybe just the base characters, with examples of how the combinations work?
Sounds right. I'm not really sure either. Maybe something like http://www.omniglot.com/writing/chinese.htm , more or less.
Re: *math-related despair*
Date: 2004-10-18 04:06 pm (UTC)Likewise, though it would be ideal for the new moon to fall on new year's day every 11 years on the nose, slight variation is fine, as long as it doesn't precess ever further off.
Am I asking for the impossible?
Re: *math-related despair*
Date: 2004-10-18 04:27 pm (UTC)If it's a hundred years, it shouldn't be too hard, but that seems too inaccurate to be content with, to me. If it's a thousand years, or a couple thousand years, you might have to do some judicious tweaking of the exact fractions to get something that'll work, but not too bad. Fifty-thousand years, you'll either have to do a ridiculous level of precision tweaking, or else have larger intercalary cycles.
But it does sound more like some I used for Akalet would be acceptable to you than I thought at first, which raises my estimation of possibility. It would make it whole lot more possible if you allowed for a second-level intercalary cycle, of say, 2-5 (or 11, or wahtever) 11 year cycles. Having it work out the same way as it would if they intergers is ... um.
Re: *math-related despair*
Date: 2004-10-18 04:33 pm (UTC)In this case, most years having 16 months, which moves the beginning of the year forward ~2 days each year, up until it's 10 (or 12) days sooner than it should be, then you have a year with 17 months, which sets it back to 12 (or 10) days later than it should, until it gradually catches back up again, and then starts over.
More thoughts
Date: 2004-10-18 05:04 pm (UTC)1. Do the users of the calendar measure the year in any fixed way? Relatedly, how formalized is this calendar? Because you could just define the beginning of the year as the first new moon after the rainy season starts, or something similar. They wouldn't ahve to count the number of days in a year at all. You wouldn't have an 11 year cycle, though, because you wouldn't have any kind of measured cycle.
2. Is the 11 year cycle the inportant artistic point, or is it the length of the year and month. If I made a more complicated, reasonably stable 11 year cycle by changing the month length around by a few days, would you be interested?
If I did this, do you want formalized counting of the number days in a month, or is it observational; .e. the month starts with the first sighting of the new moon, whatever, regardless of how many days its been.
Does the year always begin at the beginnning of a month, or are the parallel runnning cycles that come back into alignment after 11 years, more like the relationship of our weeks to our months or years, than the relationship of our months to our years.
(I like calendar work :D)
Re: More thoughts
Date: 2004-10-18 06:30 pm (UTC)It doesn't have to be 11 years, though I wouldn't want it to be _too_ many years fewer or more than that. Same goes for the number of days in a month. (However, I'm pretty attached to 354 days in a year, though obviously I haven't decided on an exact fraction to work with.)
And no, the year definitely doesn't always start at the beginning of a month. It's as you said, more like the relationship of our weeks to our months.
Do the users of the calendar measure the year in any fixed way?
You mean fixed as in fixed to the actual solar year? No, not the way I've got it worked out now. The solstices and equinoxes would fall on different days in different years, as they do for us, but they'd notice if it changed significantly over time.
I could do a less formalized calendar, but I've done that before. The whole point of this is to do something more complicated. :)
Re: More thoughts
Date: 2004-10-18 07:04 pm (UTC)Oh, that's much, much easier. I was assuming the other way. Do you want to make something up for you, give a spreadsheet with some parameters set, that'll calculate it, or anything?
Re: More thoughts
Date: 2004-10-18 07:15 pm (UTC)If you could make an excel spreadsheet that shows how the calculations work, I would be very grateful.
Re: More thoughts
Date: 2004-10-18 08:16 pm (UTC)If it's the observed new moon, that's just, someone looks up into the sky and says, "it's a new moon, I guess it's the next month now."
If it's a calculated new moon, then you've got a calendar that tells you when the new moon will be, and you'll have a leap-year like cycle of months, e.g. "most months have 24 days, but 3 months out of 10 have 25" or whatever.
Speaking of which, you probably want some kind of independent cycle of months. That is, 6 or 10 or 13 or whatever month names that you cycle through, like weekday names, yeah? The number of names / number of months in the month-cycle should probably be based on how the months get systematically corrected, i.e. in the example above, a cycle of 10 named months, and the months named "such", "so", and "t'other" have 25 days.
Ahhh. There's so many choices, and I don't know how to convey them all! But, anyway, this spreadsheet:
http://www.sedesdraconis.com/stor/calencalc.xls
you can use it to pick a year length and month length, and it won't shut down (m?)any options for the other pieces.
The documentation is in the spreadsheet, I tried to make everything crystal clear, I apologize if it's too patronizing, or if it's not clear enough.
Re: More thoughts
Date: 2004-10-26 03:22 pm (UTC)Re: More thoughts
Date: 2004-10-26 08:23 pm (UTC)"Extra months": so you've set up the # of years in a cycle, and you've set up the approximate number of months in a year. Multiplied together, that'll give you an approximate number of months in a cycle. But if you just use that number, you wouldn't need a cycle, because there'd be an exact number of months (well, offset slighlty, cause of the fudge in year legnth, but not offset enough) in the year, whatever you put in. So you fudge it with the "extra months" cell.
So for example you've got an 11-year cycle, and about 14 months in a year. That makes 154 months in a cycle if there're (nearly) exactly 14 months in a year, but we don't want that. So you put in, say, 4 in the extra months field, so that there are 154+4=158 months in a cycle, or 14 and 4/11 months per year.