# integrate(sin(x),x) doesn't work

Typing integrate(sin(x),x) in the workbook gives the correct answer -cos(x) In the shell I get

```
sage: integrate(sin(x),x)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-1-996dddd859a4> in <module>()
----> 1 integrate(sin(x),x)
/opt/sage-6.3/local/lib/python2.7/site-packages/sage/symbolic/expression.so in sage.symbolic.expression.Expression.__float__ (build/cythonized/sage/symbolic/expression.cpp:8129)()
TypeError: unable to simplify to float approximation
```

I get this error in binary downloads sage-6.2, sage-6.3 and in self compiled sage-6.3.

It works well for me (compiled from sources). Could you give more details about your distribution's version, the binary build you used, etc?

I downgraded because important information was missing.

@rws: Please do not downvote questions, especially those from newbies. While I agree that the question lacks the most important detail, we should be a welcoming community. Asking for this information as @tmonteil has rightly done is the way. If we get no response after a couple of months, we could close the question as being too localised.

Try to reset Sage by typing reset(), then try the command again.