First time here? Check out the FAQ!
answered 2020-08-24 03:02:30 +0100
The expression for f(x) is missing a closing parenthesis.
f(x)
The next error might be a NameError concerning xcos.
NameError
xcos
Multiplication should be explicit: write x*cos(x) and x*sin(x) instead of xcos(x) and xsin(x).
x*cos(x)
x*sin(x)
xcos(x)
xsin(x)