Basics of center of mass and conservation of momentum of a set of masses and an exploding bomb.
For more figures, please check out the “center of mass” and “conservation of momentum” tag.
Edit and compile if you like:
% Author: Izaak Neutelings (October 2020)\documentclass[border=3pt,tikz]{standalone}\usepackage{physics}\usepackage{tikz}%\usepackage[outline]{contour} % glow around text\usetikzlibrary{calc}\tikzset{>=latex} % for LaTeX arrow head\usetikzlibrary{patterns}\usetikzlibrary{decorations.pathmorphing} % for decorate random steps%\contourlength{2pt}\colorlet{xcol}{blue!70!black}\colorlet{vcol}{green!60!black}\colorlet{myred}{red!65!black}\colorlet{acol}{red!50!blue!80!black!80}\tikzstyle{mass}=[line width=0.6,red!30!black,fill=red!40!black!10,rounded corners=1,top color=red!40!black!20,bottom color=red!40!black!10,shading angle=20]\tikzstyle{rvec}=[->,xcol,very thick,line cap=round]\tikzstyle{pvec}=[->,myred,very thick,line cap=round]\tikzstyle{velocity}=[->,vcol,very thick,line cap=round]\tikzset{pics/collision/.style={code={\draw[line width=0.5*#1,orange,fill=yellow](0:0.20*#1) -- (30:0.06*#1) -- (50:0.25*#1) -- (80:0.10*#1) -- (105:0.32*#1) --(140:0.08*#1) -- (170:0.25*#1) -- (190:0.08*#1) -- (220:0.25*#1) --(250:0.08*#1) -- (270:0.24*#1) -- (300:0.08*#1) -- (320:0.25*#1) -- (340:0.09*#1) -- cycle;}},pics/collision/.default=1,}\begin{document}% CENTER OF MASS 2D\begin{tikzpicture}\def\xmax{4.7} % max x axis\def\ymax{3.6} % max y axis\coordinate (O) at (0,0);
Click to download: dynamics_center_of_mass.tex • dynamics_center_of_mass.pdf
Open in Overleaf: dynamics_center_of_mass.tex