Sin not defined
np.linspace(-np.pi,np.pi,100)
plt.plot((sin(x)*sin(x))/x)


NameError                                 Traceback (most recent call last)
Cell In[2], line 2
      1 np.linspace(-np.pi,np.pi,100)
----> 2 plt.plot((sin(x)*sin(x))/x)

NameError: name 'sin' is not defined


Python-3.4.3 Using-plot-command-interactively 09-10 min 0-10 sec 30-05-23, 6:41 p.m. Atharva_217

No answers yet

Click here to reply/comment online