Skip to main content

All Questions

0 votes
1 answer
443 views

How to calculate acceleration due to gravity in a 3D $N$-Body system?

How do you calculate acceleration due to gravity for objects in 3D space? My current understanding for the force due to gravity on object $i$ from object $j$ is $$\mathbf{F}_g=(\mathbf{r}_j-\mathbf{r}...
maxbear123's user avatar
0 votes
2 answers
99 views

Equations of motion: Calculate location of point [closed]

The scenario is that a user is dragging an object on a touchscreen. I want to calculate the position of the object as the finger drags it across the screen. I also want to account for any acceleration ...
david_adler's user avatar
4 votes
0 answers
104 views

Method to build a polyhedral die with given probabilities [closed]

Let's define a die as a polyhedron that, if rolled over a perfect horizontal plane, ends up being in a physically stable unambiguous state labelled $n$. The die has $N$ states. Each state $n$ has a ...
Andrea's user avatar
  • 141
1 vote
1 answer
174 views

MEMS gyro measured angular velocity vector

Notations I use: Consider a world frame $\{O_0, \vec{i}_0, \vec{j}_0, \vec{k}_0\}$ coordinate system and a rigid body $B$ with a coordinate system $\{O_1, \vec{i}_1, \vec{j}_1, \vec{k}_1\}$ attached ...
C Marius's user avatar
  • 365
0 votes
1 answer
188 views

How to simulate gravitational interaction of bodies in space?

I want to try simulating some bodies in space using the basic formulas I learned in my college mechanics class. So I know Newton's Law and some basic mechanics equations: $\vec{F} = G\frac{m_1m_2}{r^...
rcplusplus's user avatar
2 votes
1 answer
2k views

Applying velocity Verlet algorithm

I want to implement a simple particules system using the velocity form of the Verlet algorithm as integrator. Initial conditions at $t=0$ for a given particule $p$: mass: $ m $ position: $\...
abernier's user avatar
  • 131