import numpy as np
import matplotlib.pyplot as plt
angles_degrees = np.linspace(0, 360, 361)
angles_radians = np.radians(angles_degrees)
sine_values = np.sin(angles_radians)
cosine_values = np.cos(angles_radians)
plt.figure(figsize=(8, 6))
plt.plot(angles_degrees, sine_values, label='Sine', color='blue')
plt.plot(angles_degrees, cosine_values, label='Cosine', color='red')
plt.title('Sine and Cosine Functions')
plt.xlabel('Angle (degrees)')
plt.ylabel('Value')
plt.grid(True)
plt.legend()
plt.show()