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.Fri, 18 May 2012 16:34:21 +0200Defining custom global constantshttps://ask.sagemath.org/question/8980/defining-custom-global-constants/Is it possible to define a custom constant like pi? One that is handled symbolically, one that can be used without prior definition...
For example, could it be possible to define "tau" to equal 2*pi for my Sage installation so that when I open my notebook, I can call "tau" without needing to define it in every cell?
And to take it a step further, would it be possible to replace constants? Like pi with tau/2? This isn't as important, but it would be very nice!daniel.e2718Fri, 18 May 2012 16:34:21 +0200https://ask.sagemath.org/question/8980/