import numpy as np
import matplotlib.pyplot as plt


# theta goes from 0 to 2pi
theta = np.linspace(0, 2*np.pi, 100)

# the radius of the circle
r = np.sqrt(9)

# compute x1 and x2
x1 = r*np.cos(theta)
x2 = r*np.sin(theta)

# create the figure
fig, ax = plt.subplots(1)
ax.plot(x1, x2)
ax.set_aspect(1)
plt.show()
eaa7ba2e730c7c07505d3522338a0643093179c4
<mask token>

<mask token>
ax.plot(x1, x2)
ax.set_aspect(1)
plt.show()

<mask token>
theta = np.linspace(0, 2 * np.pi, 100)
r = np.sqrt(9)
x1 = r * np.cos(theta)
x2 = r * np.sin(theta)
fig, ax = plt.subplots(1)
ax.plot(x1, x2)
ax.set_aspect(1)
plt.show()

import numpy as np
import matplotlib.pyplot as plt
theta = np.linspace(0, 2 * np.pi, 100)
r = np.sqrt(9)
x1 = r * np.cos(theta)
x2 = r * np.sin(theta)
fig, ax = plt.subplots(1)
ax.plot(x1, x2)
ax.set_aspect(1)
plt.show()

import numpy as np
import matplotlib.pyplot as plt


# theta goes from 0 to 2pi
theta = np.linspace(0, 2*np.pi, 100)

# the radius of the circle
r = np.sqrt(9)

# compute x1 and x2
x1 = r*np.cos(theta)
x2 = r*np.sin(theta)

# create the figure
fig, ax = plt.subplots(1)
ax.plot(x1, x2)
ax.set_aspect(1)
plt.show()