Recent content by AlenC
-
High School Simulating orbit trajectory based on position and velocity
Thank you so much, it's finally working: http://image.prntscr.com/image/60331e210381452ab979dd775141e760.png- AlenC
- Post #15
- Forum: Astronomy and Astrophysics
-
High School Simulating orbit trajectory based on position and velocity
I checked the results coming out of program and they match with your calculations and my original value of E: -286032000000000 So now comes the difficult part where I'm probably making a mistake. If I understood correctly, next I have to solve quadratic equation with two results...- AlenC
- Post #13
- Forum: Astronomy and Astrophysics
-
High School Simulating orbit trajectory based on position and velocity
I tried using these equations in my simulation, but I'm getting strange results. Either too big or too small. Would you mind checking my numbers? I first tried calculating total energy: E = 10000000kg*( (7563.49ms²/2) - ((6E+24kg*6.67408E-11)/7000000m) ) Mass of the planet is...- AlenC
- Post #11
- Forum: Astronomy and Astrophysics
-
High School Simulating orbit trajectory based on position and velocity
I'll need some time to process this, but I think I understand the general meaning: I can calculate energy from velocity and distance. Would you just mind explaining what M, L and R stand for?- AlenC
- Post #8
- Forum: Astronomy and Astrophysics
-
High School Simulating orbit trajectory based on position and velocity
Ok, I'm still with you.- AlenC
- Post #5
- Forum: Astronomy and Astrophysics
-
High School Simulating orbit trajectory based on position and velocity
Yes. I know these values. What can I do next based on this?- AlenC
- Post #3
- Forum: Astronomy and Astrophysics
-
High School Simulating orbit trajectory based on position and velocity
Hi! I hope I'm posting in the correct section. I found this very similar topic in this forum: https://www.physicsforums.com/threads/orbital-ellipse.482713/ Aside from very helpful formula for calculating semi-major axis, the question was left unanswered. I have a working simulation of...- AlenC
- Thread
- Orbit Position Trajectory Velocity
- Replies: 14
- Forum: Astronomy and Astrophysics
-
Incorporating Science and Math into Game Development: Tips and Tricks
Thank you! I have to say that I play a wide range of genres. If I have to pick, then I'm mostly an RPG fan. However, the game I'm working on I'd describe as a mix between Kerbal space program (much simpler and with sci-fi elements) and FTL.- AlenC
- Post #3
- Forum: New Member Introductions
-
Incorporating Science and Math into Game Development: Tips and Tricks
Hi, I'm a game developer wannabe and I come here for help. I love science and math and I'd love to use it in my work. But as I'm unfortunately terrible at it, I hope I can find some helpful pointers here. So I guess I'll head to homework section... :)- AlenC
- Thread
- Replies: 3
- Forum: New Member Introductions