Ask Your Question

kmr2014's profile - activity

2020-08-24 02:19:40 +0200 asked a question help plot graph - syntaxError

can anyone PLEASE tell me what am i write wrong on this??

f(x) = (xcos(x) + sin(x))/(x+1) + (xsin(x)/((x+1)^2)

show(f)

whenever I try to plot a graph, the following error appears:

File "<ipython-input-1-9a8367ab3956>", line 2 show(f) ^ SyntaxError: invalid syntax

2020-08-24 02:19:40 +0200 asked a question help show(f) ^ SyntaxError: invalid syntax

I write the following code:

f(x) = (xcos(x) + sin(x))/(x+1) + (xsin(x)/((x+1)^2)
show(f)

Whenever I try to plot a graph, the following error appears:

File "<ipython-input-1-9a8367ab3956>", line 2
    show(f)
           ^
SyntaxError: invalid syntax