About value

##### Title

##### Question

is this is correct?

In [21]: x=linspace(-pi,pi,100)

In [22]: plot((sin(x)*sin(x))/x

...: )

Out[22]: [<matplotlib.lines.Line2D at 0x9d513b8>]

In [23]:

Python-3.4.3 Using-plot-command-interactively 08-09 min 20-30 sec

__Answers:__

Yes, it is correct. If any command is incorrect it will show an error.

x = linspace(1,100,100)

plot((sin(x) * sin(x))/x)

I tried like these,it's working .But is it correct?

Login to add comment