Programming Theory
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesProgramming Theory

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old April 20th, 2007, 01:37 AM
chandan_tiwari chandan_tiwari is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Mumbai, India
Posts: 2 chandan_tiwari User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 21 sec
Reputation Power: 0
Send a message via Yahoo to chandan_tiwari
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.

Reply With Quote
  #2  
Old April 23rd, 2007, 03:23 AM
Frazz Frazz is offline
The Frazzman
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Melbourne, Victoria, Australia
Posts: 126 Frazz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 54 m 58 sec
Reputation Power: 3
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?

Reply With Quote
  #3  
Old April 23rd, 2007, 08:16 AM
lig's Avatar
lig lig is offline
"Forum Nazi"
Click here for more information.
 
Join Date: Apr 2007
Location: Jacksonville, Fl
Posts: 4,775 lig User rank is Private First Class (20 - 50 Reputation Level)lig User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 Days 13 h 47 m 18 sec
Reputation Power: 7
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

Reply With Quote
  #4  
Old April 23rd, 2007, 04:44 PM
sarah's Avatar
sarah sarah is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Auckland, New Zealand
Posts: 127 sarah User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 5 m 32 sec
Reputation Power: 3
Send a message via ICQ to sarah Send a message via AIM to sarah Send a message via Google Talk to sarah
School assignment? Sounds like an interesting one.

Reply With Quote
  #5  
Old April 27th, 2007, 08:18 AM
chandan_tiwari chandan_tiwari is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Mumbai, India
Posts: 2 chandan_tiwari User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 21 sec
Reputation Power: 0
Send a message via Yahoo to chandan_tiwari
Quote:
Originally Posted by sarah
School assignment? Sounds like an interesting one.

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

Reply With Quote
  #6  
Old April 27th, 2007, 01:30 PM
Andrew's Avatar
Andrew Andrew is offline
Moderator
Click here for more information
 
Join Date: Apr 2007
Location: United Kingdom
Posts: 1,948 Andrew User rank is Private First Class (20 - 50 Reputation Level)Andrew User rank is Private First Class (20 - 50 Reputation Level)  Folding Points: 2429 Folding Title: Novice Folder
Time spent in forums: 4 Days 6 h 36 m 39 sec
Reputation Power: 4
Quote:
Originally Posted by chandan_tiwari
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


Moved to Programming Theory as it is a theory/logic based question.
__________________
Ubuntu User #13389

Reply With Quote
  #7  
Old April 29th, 2007, 01:34 AM
nawlej nawlej is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Dallas, Tx. USA
Posts: 2,008 nawlej User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 8 m 12 sec
Reputation Power: 5
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

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesProgramming Theory > What to do in this ...please help (Script Logic Problem)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

Request Your Free Technology Downloads!
 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

Request Your Free Technology Downloads!
 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

Request Your Free Technology Downloads!
 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

Request Your Free Technology Downloads!
 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek