last lab
This commit is contained in:
14
labPython/lab6/Graf13.py
Executable file
14
labPython/lab6/Graf13.py
Executable file
@@ -0,0 +1,14 @@
|
||||
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()
|
||||
Reference in New Issue
Block a user