 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Jon Lennart Aasenden Guest
|
Posted: Wed Sep 01, 2004 11:24 pm Post subject: Painting & calculating bio-rythms? |
|
|
Have anyone ever coded a routine for drawing bio rythms?
What is the formula?
Kind regards
Jon Lennart Aasenden
|
|
| Back to top |
|
 |
Jon Lennart Aasenden Guest
|
Posted: Thu Sep 02, 2004 7:30 am Post subject: Re: Painting & calculating bio-rythms? |
|
|
Delphi7 has a dayssince/between() function in it's dateuttils unit, can i
use that?
Also, from the small programs i have seen, they renders 3 curves, how would
the formula differ for the 3 states?
For example, if i wanted to calculate the emotional state within the bounds
of the last 14 days?
Wish i did not suck so much as math.. im good at visual logic though :)
Regards
Jon Lennart Aasenden
"Nils Haeck" <n.haeckno (AT) spamchello (DOT) nl> wrote
| Quote: | It is something like
cos(Days_Since_Birth / 23 * 2 * pi)
- at least that's what I remember, cycles of 23 days.
The trick is that you must calculate the number of days since birth
*exactly* (so including leap years etc).
You can do all that grunt work for that yourself, or use Delphi function
EncodeDate twice (once for the time now, once for the birth date), then
substract the two to get the number of days passed.
Kind regards,
Nils
"Jon Lennart Aasenden" <post_nospam_nojunk (AT) hexmonks (DOT) net> wrote in message
news:41365a1b$1 (AT) newsgroups (DOT) borland.com...
Have anyone ever coded a routine for drawing bio rythms?
What is the formula?
Kind regards
Jon Lennart Aasenden
|
|
|
| Back to top |
|
 |
willem van Deursen Guest
|
Posted: Thu Sep 02, 2004 8:03 am Post subject: Re: Painting & calculating bio-rythms? |
|
|
Hello Jon
(From my old TI-58 manual, which included a program on biorythms)
There seem to be three cycles, an physical cycle with a return period of
23 days, an emotional cycle with a return period of 28 days and a
intellectual one with 33 days.
In the formula
cos(Days_Since_Birth / 23 * 2 * pi),
the 23 is the magic number for the physical cycle.
Further then this, I don't know nothing about biorythms
Hope this helps
Willem van Deursen
Jon Lennart Aasenden wrote:
| Quote: | Delphi7 has a dayssince/between() function in it's dateuttils unit, can i
use that?
Also, from the small programs i have seen, they renders 3 curves, how would
the formula differ for the 3 states?
For example, if i wanted to calculate the emotional state within the bounds
of the last 14 days?
Wish i did not suck so much as math.. im good at visual logic though :)
Regards
Jon Lennart Aasenden
"Nils Haeck" <n.haeckno (AT) spamchello (DOT) nl> wrote in message
news:41365ccb$1 (AT) newsgroups (DOT) borland.com...
It is something like
cos(Days_Since_Birth / 23 * 2 * pi)
- at least that's what I remember, cycles of 23 days.
The trick is that you must calculate the number of days since birth
*exactly* (so including leap years etc).
You can do all that grunt work for that yourself, or use Delphi function
EncodeDate twice (once for the time now, once for the birth date), then
substract the two to get the number of days passed.
Kind regards,
Nils
"Jon Lennart Aasenden" <post_nospam_nojunk (AT) hexmonks (DOT) net> wrote in message
news:41365a1b$1 (AT) newsgroups (DOT) borland.com...
Have anyone ever coded a routine for drawing bio rythms?
What is the formula?
Kind regards
Jon Lennart Aasenden
|
--
Willem van Deursen, The Netherlands
[email]wvandeursen_nospam (AT) nospam_carthago (DOT) nl[/email]
replace _nospam@nospam_ for @ to get a valid email address
www.carthago.nl
|
|
| Back to top |
|
 |
Marcus F. Guest
|
Posted: Thu Sep 02, 2004 9:57 am Post subject: Re: Painting & calculating bio-rythms? |
|
|
"Nils Haeck" <n.haeckno (AT) spamchello (DOT) nl> wrote
| Quote: | It is something like
cos(Days_Since_Birth / 23 * 2 * pi)
- at least that's what I remember, cycles of 23 days.
The trick is that you must calculate the number of days since birth
*exactly* (so including leap years etc).
|
Or just pick some random phase and frequency. I don't know what supposedly
is the significance of "bio-rythms" but if it's somethin involving the
number of days since birth, one would do just as well with any random
function, it would seem to me.
|
|
| Back to top |
|
 |
Jacques Oberto Guest
|
Posted: Thu Sep 02, 2004 12:54 pm Post subject: Re: Painting & calculating bio-rythms? |
|
|
"Jon Lennart Aasenden" <post_nospam_nojunk (AT) hexmonks (DOT) net> a écrit dans le
message de news:41365a1b$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Have anyone ever coded a routine for drawing bio rythms?
What is the formula?
Kind regards
Jon Lennart Aasenden
|
Do these things really work? I doubt.
Luckyly I am an Aquarius and Aquariuses don't
believe in horoscopes (or biorythms).
:)
J.
|
|
| Back to top |
|
 |
Jacques Oberto Guest
|
Posted: Thu Sep 02, 2004 2:08 pm Post subject: Re: Painting & calculating bio-rythms? |
|
|
| Quote: | Luckyly I am an Aquarius and Aquariuses don't
believe in horoscopes (or biorythms).
:)
You don't have to believe in God too. Some say He exists, some say They
exists and some say there is no such thing... :)
MikKi
|
Somehow I always define GodExists with a Boolean variable; thank you for
pointing out it can be defined with an Integer as well.
J.
|
|
| Back to top |
|
 |
somebody Guest
|
Posted: Thu Sep 02, 2004 6:13 pm Post subject: Re: Painting & calculating bio-rythms? |
|
|
"Jacques Oberto" <jo (AT) nospam (DOT) com> wrote
| Quote: | Luckyly I am an Aquarius and Aquariuses don't
believe in horoscopes (or biorythms).
:)
You don't have to believe in God too. Some say He exists, some say They
exists and some say there is no such thing... :)
Somehow I always define GodExists with a Boolean variable; thank you for
pointing out it can be defined with an Integer as well.
|
You should use complex numbers. Specifically, the imaginary part comes in
quite handy.
|
|
| Back to top |
|
 |
Nils Haeck Guest
|
Posted: Thu Sep 02, 2004 9:43 pm Post subject: Re: Painting & calculating bio-rythms? |
|
|
I agree with you but don't tell this to any of the hocus-spokus people out
there, they skin you alive :)
Nils
"Marcus F." <a@b.com> wrote
| Quote: | "Nils Haeck" <n.haeckno (AT) spamchello (DOT) nl> wrote
It is something like
cos(Days_Since_Birth / 23 * 2 * pi)
- at least that's what I remember, cycles of 23 days.
The trick is that you must calculate the number of days since birth
*exactly* (so including leap years etc).
Or just pick some random phase and frequency. I don't know what supposedly
is the significance of "bio-rythms" but if it's somethin involving the
number of days since birth, one would do just as well with any random
function, it would seem to me.
|
|
|
| Back to top |
|
 |
Nils Haeck Guest
|
Posted: Thu Sep 02, 2004 9:44 pm Post subject: Re: Painting & calculating bio-rythms? |
|
|
"somebody" <somebody (AT) somewhere (DOT) com> wrote
| Quote: | "Jacques Oberto" <jo (AT) nospam (DOT) com> wrote
Luckyly I am an Aquarius and Aquariuses don't
believe in horoscopes (or biorythms).
:)
You don't have to believe in God too. Some say He exists, some say
They
exists and some say there is no such thing... :)
Somehow I always define GodExists with a Boolean variable; thank you for
pointing out it can be defined with an Integer as well.
You should use complex numbers. Specifically, the imaginary part comes in
quite handy.
|
Or fuzzy logic :)
|
|
| Back to top |
|
 |
Jon Lennart Aasenden Guest
|
Posted: Fri Sep 03, 2004 3:36 am Post subject: Re: Painting & calculating bio-rythms? |
|
|
Concidering the odd's for someone like Bush becomming president, i would say
the chances for god's existance is remarkably good :)
Bio rythms on the other hand.. just a nice curiosity for my desktop toolbar.
Also thinking about implementing tarot, runes and egyptian hekath, but well
see.
Thanks for all the help guys!
Jon Lennart Aasenden
"Nils Haeck" <n.haeckno (AT) spamchello (DOT) nl> wrote
| Quote: | "somebody" <somebody (AT) somewhere (DOT) com> wrote in message
news:413761a6 (AT) newsgroups (DOT) borland.com...
"Jacques Oberto" <jo (AT) nospam (DOT) com> wrote
Luckyly I am an Aquarius and Aquariuses don't
believe in horoscopes (or biorythms).
:)
You don't have to believe in God too. Some say He exists, some say
They
exists and some say there is no such thing... :)
Somehow I always define GodExists with a Boolean variable; thank you
for
pointing out it can be defined with an Integer as well.
You should use complex numbers. Specifically, the imaginary part comes
in
quite handy.
Or fuzzy logic :)
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|