[sage-support] Re: symbol number radian degree

2007-05-22 Thread Bobby Moretti
# HG changeset patch # User Bobby Moretti <[EMAIL PROTECTED]> # Date 1179852649 25200 # Node ID 5d423d8161906a30efe1b6837524724737303db2 # Parent 82e2148257968030ef5a6d2a5ee415aaf0927f28 implemented SR.numerical_approximation() diff -r 82e214825796 -r 5d423d816190 sage/calculus/calculus.py --- a/

[sage-support] Re: symbol number radian degree

2007-05-21 Thread William Stein
On 5/21/07, Bobby Moretti <[EMAIL PROTECTED]> wrote: > In the past, we've favored polluting the class namespace over lack of > clarity. For example, simplify_trig = trig_simplify, simplify_rational = > rational_simplify, etc. Would it be so bad to have, something like: > > def numerical_approximat

[sage-support] Re: symbol number radian degree

2007-05-21 Thread Bobby Moretti
On 5/21/07, William Stein <[EMAIL PROTECTED]> wrote: > > > On 5/21/07, Yi Qiang <[EMAIL PROTECTED]> wrote: > > On May 21, 2007, at 7:18 PM, Brian Harris wrote: > > > Fair enough. A previous discussion led me to believe the goal was for > > > more transparent rings. Have you considered supporting

[sage-support] Re: symbol number radian degree

2007-05-21 Thread [EMAIL PROTECTED]
On May 21, 7:24 pm, Yi Qiang <[EMAIL PROTECTED]> wrote: > On May 21, 2007, at 7:18 PM, Brian Harris wrote: > > > > > Fair enough. A previous discussion led me to believe the goal was for > > more transparent rings. Have you considered supporting something like > > the following? > > > cos(3).tor

[sage-support] Re: symbol number radian degree

2007-05-21 Thread William Stein
On 5/21/07, Yi Qiang <[EMAIL PROTECTED]> wrote: > On May 21, 2007, at 7:18 PM, Brian Harris wrote: > > Fair enough. A previous discussion led me to believe the goal was for > > more transparent rings. Have you considered supporting something like > > the following? > > > > cos(3).toreal() > I wo

[sage-support] Re: symbol number radian degree

2007-05-21 Thread Yi Qiang
On May 21, 2007, at 7:18 PM, Brian Harris wrote: > > Fair enough. A previous discussion led me to believe the goal was for > more transparent rings. Have you considered supporting something like > the following? > > cos(3).toreal() I would second this suggestion. I was also confused as how to

[sage-support] Re: symbol number radian degree

2007-05-21 Thread Brian Harris
Fair enough. A previous discussion led me to believe the goal was for more transparent rings. Have you considered supporting something like the following? cos(3).toreal() On May 21, 9:12 pm, David Joyner <[EMAIL PROTECTED]> wrote: > Brian Harris wrote: > > How can I get sage to print the numer

[sage-support] Re: symbol number radian degree

2007-05-21 Thread David Joyner
Brian Harris wrote: > How can I get sage to print the numeric value of an expression such > as, cos(3)? sage: cos(3) cos(3) sage: RR(cos(3)) -0.989992496600445 > > Also is there a way to switch between 'radian' and 'degree' modes like > in some calculators? Everything is in radians. To com