value of x
what should be the value of x in the given problem i have given the value as x=linspace(-1,1,100) but it is giving the plot with errors
Python-3.4.3 Using-plot-command-interactively 08-09 min 10-20 sec
Answers:
it is showing 100 values between -1 to 1.
what is your error?please post that
TypeError: unsupported operand type(s) for /: 'Line2D' and 'float'
22-06-19, 12:05 p.m.
krutika.chhajed@gmail.com
i got this error
Maam, your plot command is incorrect.
22-06-19, 12:19 p.m.
ankitrj.iitb
You are using plot (sin(x)*sin(x))/x
You should be closing the brackets correctly and using this instead plot ( (sin(x)*sin(x))/x ) [please note the difference in brackets compared to previous commands]