15 lines
215 B
Python
Executable File
15 lines
215 B
Python
Executable File
import numpy as nu
|
|
import matplotlib.pyplot as plt
|
|
|
|
|
|
def xycomlete(x):
|
|
y = nu.sin(5 * x) * nu.cos(x)
|
|
return y
|
|
|
|
|
|
ArrayX = nu.arange(0, 3, 0.01)
|
|
ArrayY = xycomlete(ArrayX)
|
|
|
|
plt.plot(ArrayX, ArrayY)
|
|
plt.show()
|