Physics Library
 An open source physics library
Encyclopedia | Forums | Docs | Random | Template Test |  
Login
create new user
Username:
Password:
forget your password?
Main Menu
Sections

Talkback

Downloads

Information
Forum: Planet Physics Errors
Welcome to the Planet Physics Errors forum!

A forum to talk about website errors, since PP is in testing.

[ back to forums top ]
Interact
post
Pending Errata and Addenda
None.
Discussion
Style: Expand: Order:

jump to page: 1 2 >> of 2 (8 items)

Testing Physics Library by bloftin on 2025-01-18 18:05:11
First post to test if basic forum post even working!
[ reply | up ]
Calculating planetary coordinates by greame on 2011-01-07 05:39:01
I have a very quick question, and I figured because this is an algorithmic question, perhaps someone would be able to answer this for me here.
I've done a small algorithm in c++ to calculate the coordinates of planets based on the force applied to them, which gives the acceleration, velocity, and finally position (all in components)

I'll explain my issue first and attach my code at the bottom.
I'm not sure if this is an issue or not, but the sun is moving (in meters) quite far away from the origin. I'm aware that the sun is supposed to move a small distance due to the pull of the larger planets, but the coordinates are reaching into the tens of thousands of meters - which does not seem to be logical to me.

The processing for my algorithm is as follows:
-Reset force to 0;
-Get the sum of all forces by F += GM(x[j]-x[i])/r^3
-calculate specific planet's acceleration by the equation a = F/m
-calculate specific planet's velocity by V = Vinitial + a*t
-calculate specific planet's position by X = Xinitial + v*t
-loop

To me, this sounds like this should make sense - and so I figured it was an algorithmic error.

Anyone who's good in physics or algorithm have any idea?

http://www.simplyearplugs.co.uk
[ reply | up ]
New Account Problem by bloftin on 2010-04-02 17:27:08
Sorry to everybody trying to join PlanetPhysics, but our server is currently not sending out new account emails to verify your account.  We are working the problem.  Sorry for the inconvenience.

Ben
[ reply | up ]
Shared objects or entries, anyone? by bci1 on 2009-06-22 02:26:02
Is the Noosphere feature that allows one to see shared entries
in one's object list enabled?
bci1
[ reply | up ]
PlanetPhysics downtime by bloftin on 2008-11-13 18:34:32
Sorry for the downtime, we had a server and database issue.  It is fixed for now, but be aware I think there is another underlying problem.  I'll be looking at it closely the next few days.  Thank you for your patience.

Ben
[ reply | up ]

jump to page: 1 2 >> of 2 (8 items)

Testing some escape charachters for html category with a generator has an injective cogenerator" now escape ” with "