Тёмный

Python Physics: Building a 3D Model for Orbital Motion 

Dot Physics
Подписаться 37 тыс.
Просмотров 572
50% 1

How do you model the motion of an object moving near the Earth? One way is to create a numerical calculation to break the motion into short time intervals.
In this video, I'm going to show you all the steps to build this model using Web VPython.
Here is the code
trinket.io/glowscript/b955db8fb1
I'm working through chapter summaries for introductory physics (algebra-based). I'm using the Openstax online (free) textbook College Physics. You can access this book here openstax.org/details/books/co...
Here is the playlist with all the videos and problems for this course.
• Online Physics 1 2024

Опубликовано:

 

18 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 7   
@ivolol
@ivolol День назад
Love the orbital tutorials you've done! Dunno if you're interested, but a slightly-in-depth look at the working of the rotational matrix that can turn a simple "2D" elliptical orbit points into one correctly rotated in 3D space to correct for inclination, argument of periapsis and longitude of ascending node. Kinda crazy to me you can put a bunch of sins and coses and 0s/1s and bam, its got all the correct rotations it should have.
@frangonzalez6511
@frangonzalez6511 11 дней назад
Muchas gracias! Me es útil para mis alumnos de bachillerato (17 años). Lo único que el código no está completo al no guardarlo al final. Podrías poner el código completo por favor. Saludos desde las Islas Canarias, España.
@DotPhysics
@DotPhysics 10 дней назад
Acabo de comprobarlo; me parece guardado. Inténtalo de nuevo y avísame si tienes algún problema.
@frangonzalez6511
@frangonzalez6511 10 дней назад
@@DotPhysicsperfecto, ahora sí que veo el código completo. Muchas gracias por el contenido de tu canal.
@fizixx
@fizixx 9 дней назад
😎
@brookestephen
@brookestephen 11 дней назад
I want to build an Orery, and I thought it would be easy until I found out about the principle of Barycenter. I'm only guessing that you can replace the central body and satellites of a system like Saturn & it's moons with it's barycenter with the total system mass at that point, to deal with the other planetary positions as well as Sol's position and velocity
@ivolol
@ivolol День назад
Nothing special really needs to be at the point (0,0,0) for all the maths to work out correctly anyways, as long as you've written it out correctly. In this particular example code you can notice that a simplification made was the distance r in the gravity equation is equal to the ball's r, because Earth is positioned at 0. Otherwise, r would actually need to be (rSat - rEarth). This code is a simple integral propagator and you can literally code in the vectors for all the sun, planets, and moons, make sure to do all appropriate gravity equations between them all at each time step, and then accelerate them according to the totalled force, and you will get a pretty accurate solar system simulation! There are techniques with much more advanced math than this, whose advantage is basically they can use much larger time steps without becoming wildly inaccurate, than the one done here.
Далее
КВН 2024 Высшая лига Четвертая 1/4
1:52:57
BABYMONSTER - ‘FOREVER’ M/V
03:54
Просмотров 3,7 млн
How the hell is this done#joker #shorts
00:14
Просмотров 2,2 млн
Cursed Units 2: Curseder Units
20:18
Просмотров 268 тыс.
Paradox of a Charged Particle in Gravitational Field
17:10
The SAT Question Everyone Got Wrong
18:25
Просмотров 12 млн
I Made a Neural Network with just Redstone!
17:23
Просмотров 671 тыс.
Neil deGrasse Tyson Explains The Three-Body Problem
11:45
A Proof That The Square Root of Two Is Irrational
17:22
Gearless Magnet Bike
17:57
Просмотров 6 млн
2 YEARS of PYTHON Game Development in 5 Minutes!
4:54
Просмотров 851 тыс.
КВН 2024 Высшая лига Четвертая 1/4
1:52:57