Just updated to 0.7.3 (which is the current version, I believe?) and I get 
the same result.

Cavendish

On Tuesday, October 15, 2013 6:15:48 PM UTC-4, Cavendish McKay wrote:
>
> Thanks for the quick reply.  Perhaps it's a version issue. I'm using 0.7.1.
>
> When I try:
>
> r,b,t = symbols("r,b,t")
> theta = Function('theta')
> x = (r+b)*sin(theta) + r*theta*cos(theta)
>
> I get:
>
> ---------------------------------------------------------------------------TypeError
>                                  Traceback (most recent call 
> last)<ipython-input-295-cd4ee94c1264> in <module>()      2 theta = 
> Function('theta')      3 ----> 4 x = (r+b)*sin(theta) + r*theta*cos(theta)
> /usr/local/lib/python2.7/dist-packages/sympy/core/cache.pyc in wrapper(*args, 
> **kw_args)     99         except KeyError:    100             pass--> 101     
>     func_cache_it_cache[k] = r = func(*args, **kw_args)    102         return 
> r    103     return wrapper
> /usr/local/lib/python2.7/dist-packages/sympy/core/function.pyc in 
> __new__(cls, *args, **options)    172         evaluate = 
> options.pop('evaluate', True)    173         if evaluate:--> 174             
> evaluated = cls.eval(*args)    175             if evaluated is not None:    
> 176                 return evaluated
> /usr/local/lib/python2.7/dist-packages/sympy/functions/elementary/trigonometric.pyc
>  in eval(cls, arg)    159                 return    160 --> 161         if 
> arg.could_extract_minus_sign():    162             return -cls(-arg)    163 
> TypeError: unbound method could_extract_minus_sign() must be called with 
> theta instance as first argument (got nothing instead)
>
>
> I'll upgrade and see if that fixes things.
>
> Cavendish
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to