<jupyter_start><jupyter_text>$\vec{v}_0 = (10,\text{kg m/s}),\hat{k} \sim (0,,0,,10),\text{kg m/s}$ (straight up). Start the initial positions at $\vec{r}_0 \sim (0,,0,,1)\text{m}$, $(0,,0,,2)\text{m}$, and $(0,,0,,3)\text{m}$, respectively, where $\vec{r} \sim (x,,y,,z)$.<jupyter_code># First create a figure, with "handle" stored in variable f
# The figsize is displayed in inches (on a printed page), with (width, height)
f = plt.figure(figsize=(8,6))
# Then create axes on the figure, with "handle" stored in variable a
a = plt.axes()
# Explicitly plot matched pairs of x-y points on the axis a
a.plot(t, zpro, label="Proton")
# Explicitly plot different matched pair of x-y points, with circle markers in a different color
a.plot(t, zele, marker="o", color="Red", label="Electron")
a.plot(t, zpart, marker=".", color="Pink", label="Particle")
# Explicitly set axis labels and a plot title
a.set(xlabel="Time (s)", ylabel="Vertical Position (m)", title="Particle Trajectories")
# Add a legend describing which curve is which
a.legend()
# Show the active plot to the screen
plt.show()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.17531305903398928, 'fraction_numerical': 0.01699463327370304, 'mean_word_length': 5.543859649122807, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '357069', 'license': 'MIT', 'n_tokens_mistral': 393, 'n_tokens_neox': 385, 'n_words': 134, 'path': 'CW06-Notebook.ipynb', 'repo_name': 'chapman-phys220-2018f/cw06-lol', 'size': '1118'}