In this talk, we derive a simple 2D physics simulator, focusing on gravity and spherical objects. The speaker walks through a basic introduction to Newton’s laws, and then derives a formula for a discrete approximation of the equations of motion. We convert the discrete approximation of the equations of motion into Ruby code, which accepts a state at a particular time, along with an interval of time, and then computes the new state at that following time interval. This updated state is then rendered using an HTML5 canvas element. The talk concludes with some demonstrations involving randomized initial conditions, highly symmetric initial conditions, and some awesome 3-body stable orbits.

#### AUTHOR

### You may also like

algebra tutor – trigonometry tutor – precalculus tutor – calculus tutor – differential calculus tutor – integral calculus tutor – linear algebra tutor – differential equations tutor – physics tutor – mechanics physics tutor – electromagnetism physics tutor

algebra tutor – trigonometry tutor – precalculus tutor – calculus tutor – differential calculus tutor – integral calculus tutor – linear algebra tutor – differential equations tutor – physics tutor – mechanics physics tutor – electromagnetism physics tutor

Amazing, Life Changing Tutor

Before I met Jonathan, I was struggling through most of my STEM classes because I was simply not studying properly. He taught me all kinds of new study habits that would help me to save time, raise my grades, and lower my stress. Jonathan was specifically tutoring me in vector calculus and is an amazing tutor on the subject. You will walk away from a lesson with a game plan knowing exactly what you need to do before your next session with him or before your next exam in order to do well in the course. I highly recommend him as a tutor.

algebra tutor – trigonometry tutor – precalculus tutor – calculus tutor – differential calculus tutor – integral calculus tutor – linear algebra tutor – differential equations tutor – physics tutor – mechanics physics tutor – electromagnetism physics, tutor

In this video you will learn how to derive the X-Y equation from given Parametric equations x=t^2-1,y=2t 0:30 Finding ordered pairs (x,y) using parameter t 1:58 Plotting ordered pairs (x,y) 6:38 Finding X-Y equation Related Videos to this topic: Polar Equation from Rectangular Equation y^2-x^2=4 https://youtu.be/stwB_tDiEVo Sketch Polar equations and find X-Y equation https://youtu.be/-DpjDKE8Lmo Rectangular…