Python. Ho le coordinate x e y e traggo il grafico
import numpy as np
def poli(x):
return (x-1)**9
a = 2
la_y = poli(a)
import matplotlib.pyplot as plt
plt.plot(a, la_y, 'o')
plt.show()
import numpy as np
def poli(x):
return (x-1)**9
a = 2
la_y = poli(a)
import matplotlib.pyplot as plt
plt.plot(a, la_y, 'o')
plt.show()