YoVDO

Gravity Simulator - Sun and Earth Orbital Motion - Episode 1

Offered By: Let's Code Physics via YouTube

Tags

Computational Physics Courses Astrophysics Courses Celestial Mechanics Courses Vpython Courses Euler-Cromer Method Courses

Course Description

Overview

Learn to create a gravitational motion simulator in this coding tutorial focused on modeling the Sun-Earth system. Explore the Euler-Cromer method, visualize the Earth's size relative to the Sun, and gain insights into index tracking and error handling. Utilize VPython to build the simulation, with code available for download. Discover how to initialize objects, calculate gravitational forces, and implement conservation of angular momentum. Follow along as the tutorial guides you through the entire process, from setup to testing, ensuring a comprehensive understanding of simulating celestial mechanics.

Syllabus

Intro
Bouncy Ball
Recent Collision
Earth and Sun
Initialize
Sun
Velocity
Earth
Conservation of Angular Momentum
Gravitational Force
Calculation Saver
Velocity List
Code Window
Once Over
Testing
Sun and Earth


Taught by

Let's Code Physics

Related Courses

Pendulum Simulation - Breaking Simple Harmonic Motion
Let's Code Physics via YouTube
Traffic Light Dilemma - Cars and Intersection
Let's Code Physics via YouTube
Jupyter Notebook Assignment - Runge-Kutta Method Development - Vlog 3
Let's Code Physics via YouTube
Jupyter Notebook Assignment - Euler-Cromer Method Development - Part 2
Let's Code Physics via YouTube
Projectile Motion - Simple Gravity Simulation
Let's Code Physics via YouTube