Parabolic trajectory.

Shooting a project from an island.

parabola

Edit and compile if you like:

% Author: Izaak Neutelings (October 2017)
\documentclass[border=3pt,tikz]{standalone}
\usepackage{amsmath} % for \text
\usepackage{tikz}
\usetikzlibrary{patterns}
\usetikzlibrary{backgrounds}
\usetikzlibrary{angles,quotes} % for pic
\tikzset{>=latex} % for LaTeX arrow head
\begin{document}
\begin{tikzpicture}[scale=0.5]
\def\N{40}
\def\vi{14}
\def\D{15}
\def\g{10}
\def\thetaI{65}
\def\thetaII{25}
\def\ymax{{\vi^2*sin(\thetaI)^2/(2*\g)*1.1}}
\def\xmax{\D*1.1}
\def\xmin{-1}
\def\ymin{-1}
\def\tmin{-0.05}
\def\tmaxI{(2*\vi*sin(\thetaI)/\g)+0.05}
\def\tmaxII{(2*\vi*sin(\thetaII)/\g)+0.05}
% beach & rock
\draw[very thin,fill=yellow] %north east lines, crosshatch dots
(\xmin*2.4,\ymin*0.8) to[out=60,in=180] (0,0) to[out=0,in=120] (-\xmin*0.9,\ymin*0.8);
\draw[very thin,fill=black!50!white] %north east lines, crosshatch dots
(\D,-0.2) circle (0.2);
% axes
\draw[thick,->] (\xmin,0) -- (\xmax,0) node[anchor=north] {$x\,[\text{m}]$};
\draw[thick,->] (0,\ymin) -- (0,\ymax) node[anchor=east] {$y\,[\text{m}]$};
% parabola
\draw[very thick,black!40!blue,variable=\t,domain=\tmin:\tmaxI,samples=\N]
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Click to download: parabola.texparabola.pdf
Open in Overleaf: parabola.tex

Leave a Reply

Your email address will not be published.