ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 30 Oct 2014 19:45:47 +0100Change output to numerical values globallyhttps://ask.sagemath.org/question/24712/change-output-to-numerical-values-globally/ I know how to make sage to output numerical results as described in http://ask.sagemath.org/question/8150/how-to-tell-sage-to-give-numeric-result/
However is there a magic line, a global variable or something like that to make sage output the numerical result directly in the following lines?
For example I don't want to type in
`n(sin(100))`
to get
`-0.506365641109`
or
`n(sqrt(pi()*2))`
to get
`2.50662827463100`
I just want to type `sin(100)` or `sqrt(pi()*2)` to get the numerical result.sagefanThu, 30 Oct 2014 19:45:47 +0100https://ask.sagemath.org/question/24712/