I want use "java script"programming language to simulate planetary
motion by give initial velocity , initial angle and the distance
between sun and planet(even can set many planetary in the same time).
The situation I can't make is :
1'when the planetary motion may be an ellipse orbit or to hit the
sun.
2'when the planetary motion with an ellipse orbit.Accordingto"Kepler's
planetary motion law" will have the following condition.
(a)planet will motion in the same square within the same time.
(b)the velocity will be difference when the distance far and near the
sun.
(c) [radiue square] to divide [period cube] =constant
please help me . |
Clarification of Question by
jackshu-ga
on
29 Sep 2002 00:45 PDT
the title mean use java is wrong.
i want use "java script" not "java" THX.
|
Request for Question Clarification by
secret901-ga
on
29 Sep 2002 00:45 PDT
Your subject refer to Java while the body refer to Javascript. Which
language do you want to use?
|
Clarification of Question by
jackshu-ga
on
29 Sep 2002 07:11 PDT
my title is wrong^^"
i want use "javascript".
but if you can use "java" to do the question, i also accept .
its important to me, so whatever "java" or "javascript"
if you can do it, please tell me , THX.
|
Request for Question Clarification by
gnovos-ga
on
02 Oct 2002 15:22 PDT
I don't know the math, but I could provide you with the source code
created by others who have done exactly what you are looking for,
would you be intereted in seeing those, or are you looking for an
original solution?
|
Clarification of Question by
jackshu-ga
on
03 Oct 2002 06:34 PDT
gnovos, thank you, i think your answer can help me solute this question.
please you give me the sourse code
|
Request for Question Clarification by
haversian-ga
on
03 Oct 2002 11:59 PDT
What problem are you trying to solve? Do you understand the math and
need Javascript that will implement it? Do you understand Javascript
and need help with the math background? Do you need to own the
Javascript? Do you need to be able to use it freely, regardless of
ownership? Would a page providing a Javascript demo but prohibiting
other use of the script itself be acceptable?
|
Clarification of Question by
jackshu-ga
on
04 Oct 2002 11:37 PDT
maybe i can understand the math with the javascript.
i can set the planetary with an ellipse orbit initial.
but i want to know if a planet come to the solar system will be an
ellipse orbit or hit the sun.so i ask this question want to simulate
palnetary motion
by give initial velocity, initial angleand the distance betweeen sun
and planet.
|
Request for Question Clarification by
jes5199-ga
on
04 Oct 2002 23:53 PDT
I think we're having trouble with this because your queston falls
outside the scope of Kepler's laws.... Kepler assumes that an orbit
is stable-- and with his formulas you can probably find an orbit for
any set of "initial velocity", "initial angle" and "distance between
sun and planet" that will never hit the sun.
so i guess the question is,
would you like us to go ahead an toss "mass" in the equation, and try
to use Newton's laws of motion?
or do you just want a simulation of Kepler's laws without all the
complications?
|
Clarification of Question by
jackshu-ga
on
05 Oct 2002 03:35 PDT
this is the problem that i cant solve.because we must use netwon's law
to solve this question, but i dont know how to do,i only know if some
planet motion in long orbit , we can set it look like toss to the sun
, but i believe it will obey kepler's law in final(if the planet did
not hit the sun)just like the halley comet.
because this question is complex,so i just want to set it only effect
by the sun's gravity.
|
Request for Question Clarification by
haversian-ga
on
07 Oct 2002 13:37 PDT
"because we must use netwon's law to solve this question, but i dont
know how to do" - Does this mean you would accept a solution using
Newton's laws rather than Kepler's?
Again, what do you need this for? Will you need a solution free from
restrictions such as copyright or ownership? Are you interested in
'having' the solution, or just in seeing it in action? What I mean
is, if there is a Java applet online demonstrating planetary motion,
are you interested in it?
|
Clarification of Question by
jackshu-ga
on
08 Oct 2002 04:40 PDT
i want to have the solution, if i can own the ownership is better.
i just want to know about kepler's law, but if it can use netwon's law to
explain kepler's law is perfect.
|