Ask Your Question

Eman27's profile - activity

2016-05-13 11:43:48 +0200 received badge  Famous Question (source)
2014-12-10 02:19:31 +0200 received badge  Notable Question (source)
2014-07-31 21:38:36 +0200 received badge  Popular Question (source)
2014-01-02 08:47:37 +0200 received badge  Taxonomist
2012-08-26 22:08:33 +0200 asked a question Way to make default output numerical not symbolic?

Is there a way I can set a flag so sage's default output is numerical instead of symbolic? I'm looking to set a flag so I can do something like this:

sage: vector([cos(rd(40)),sin(rd(40))])*60
(60*cos(2/9*pi), 60*sin(2/9*pi))
sage: set numerical=true
sage: vector([cos(rd(40)),sin(rd(40))])*60
(45.9626665871387, 38.5672565811924)

I know that I can use n(generic_varible) or generic_variable.n() but when I'm doing my homework it's very time consuming, because it involves either a lot of switching or a lot of writing.