Not getting graph for plot(sin(x)*sin(x)/x
Title
Question
<span style="color: rgb(31, 31, 31); font-family: "Google Sans", Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 22px; font-variant-ligatures: no-contextual;">Not getting graph for plot(sin(x)*sin(x)/x
</span><span style="font-family: Arial, Helvetica, sans-serif; font-size: small;">Displayed with Name Error: name 'x' is not defined</span><span style="color: rgb(31, 31, 31); font-family: "Google Sans", Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 22px; font-variant-ligatures: no-contextual;">
</span>
</span><span style="font-family: Arial, Helvetica, sans-serif; font-size: small;">Displayed with Name Error: name 'x' is not defined</span><span style="color: rgb(31, 31, 31); font-family: "Google Sans", Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 22px; font-variant-ligatures: no-contextual;">
</span>
<span style="color: rgb(31, 31, 31); font-family: "Google Sans", Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 22px; font-variant-ligatures: no-contextual;">
</span>
</span>
<span style="color: rgb(31, 31, 31); font-family: "Google Sans", Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 22px; font-variant-ligatures: no-contextual;">
</span>
</span>
<span style="color: rgb(31, 31, 31); font-family: "Google Sans", Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 22px; font-variant-ligatures: no-contextual;">
</span>
</span>
Python-3.4.3 Using-plot-command-interactively 10-11 min 10-20 sec
Answers:
Please type the command properly. The correct command is plot(sin(x)*sin(x))/x
Login to add comment