|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
What o do in this ...please help
hello,
This is quite hard, but hope you will get my point . The general logic starts here : suppose we have nine planets which are constantly moving in the space say 12 zodiacs. each zodiac is made up of 30.00.00 degress. There are 27 constellations(Nakshatra) in 12 zodiacs, so each constellation has a degree of 36027= 13 degrees 20 minutes 00 subminutes (don't literally divide, divide by using degrees method). so, each zodiac is made up of 2 full constellations and one fourth of the third one and hence the 12 zodiacs accordingly consist of the 27 contellations, equaly. note: the zodiac and the constellations are fixed, they are not moving. but the planets are moving. Every planet is moving with different speed, in the different degrees in different zodiacs. Have you understood this much, please proceed if you have followed the above thing. now as the time increases in seconds, there is rise in subminutes planets. Now when the subminutes has crossed the limit of 60 , the minute is incresed by 1 and when the minute has crossed limit of 60 the degree is incresed by 1. Like this when the planet has crossed 13 degrees 20 minutes 00 subminutes, it goes in to next constellation, and further when it crosses 30degrees00min00submin, it goes in to next zodiac, this is there for each planet. If the user select the date and time, the output should be the planets(in degrees) in zodiacs and constellation which are there for that particular date and time . Has anyone here got what i am trying to say. I can provide the more details , if required. how to implement the above code ? Please suggest something. |
|
#2
|
|||
|
|||
|
i think my head just exploded. but from what i gather you are looking to do something similar to: This Except that instead of being able to navigate the user chooses a time and date and it shows them how the sky would be for that night?
|
|
#3
|
||||
|
||||
|
Honestly - sounds like good old fashioned math and nothing more. Granted figuring out the formulas will be difficult - but once you have that - implementing it in code should be easy.
__________________
life is a game.... Have fun ----------------------------- http://www.phpwomen.org strength in unity PHPCommunity IRC #phpc on freenode |
|
#4
|
||||
|
||||
|
School assignment? Sounds like an interesting one.
|
|
#5
|
|||
|
|||
|
Quote:
hello, It's not an school assignment. I need this coding to do some other fetures in my web . i'll be very happy if you people can suggest me some logic. Thanking You |
|
#6
|
||||
|
||||
|
Quote:
Moved to Programming Theory as it is a theory/logic based question.
__________________
Ubuntu User #13389 |
|
#7
|
|||
|
|||
|
I still think it is school related....no one would build a website with material they don't know, or, not have a point of contact to get that information anyway, but I digress.....
It appears you are trying to do constellation mapping on a particular date. Are you just wanting to do degree math? We still refer to "subminutes" as "seconds" here in regard to degree navigation, in case you were curious. If you are going to compute point of reference based on degree bearings, I would use the lowest common factor in your equations...the second of degree, and then run them through a conversion routine to output the seconds to degree minute second (or in your case, subminute) format. There are 3600 seconds in a degree....1296000 seconds in 360 degrees, use that as your constant for conversion.... On the conversion function, use the modulus operator a few times to get remainders. In order to track the vectors of the plantary movement, you are going to need to database (or set variables) rate of speed, vector of travel, and initial origin. Each planet will have a different value for all, and you are going to have fun figuring that out! If I understood what your ultimate goal for the software was, and not just the underlying fundamentals you are going to use to get to the goal, I could better help you devise a solution.
__________________
Errors have been made. Others will be blamed. Group Member, Dallas PHP Users Group <b>(DPUG)</b> --... ...--, Eric |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Programming Theory > What to do in this ...please help (Script Logic Problem) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|