Ask Your Question

mgass's profile - activity

2021-01-30 16:34:46 +0200 received badge  Famous Question (source)
2017-04-15 05:34:01 +0200 received badge  Notable Question (source)
2015-03-23 20:58:46 +0200 received badge  Popular Question (source)
2014-12-29 23:34:00 +0200 received badge  Editor (source)
2014-12-29 23:30:12 +0200 commented answer Poset plot is upside-down

That flips it over, but the arrows point in the wrong direction.

According to the documentation, plot applied to a poset should be bottom to top with arrows pointed up.

2014-12-29 17:01:23 +0200 asked a question Poset plot is upside-down

Tried the following in smc

X = (24).divisors()

R = [(a,b) for a in X for b in X if a.divides(b)]

D = Poset([X,R])

D.plot()

The resulting plot is upside-down; that is "1" is at the top and "24" at the bottom. How can I fix this?

2014-08-16 19:58:19 +0200 answered a question recognize form sin(x)^2 + cos(x)^2 = 1

Looks like trig_simplify() does the job:

f(t) = cos(t+1)^2 + sin(t+1)^2 f.trig_simplify()

t |--> 1

Where would I find this in the sage documentation if I did not know the name of the method (trig_simplify()) ?

2014-08-16 18:17:01 +0200 asked a question recognize form sin(x)^2 + cos(x)^2 = 1

Is there a way to tell sage that expressions like sin(x)^2 + cos(x)^2 are equivalent to 1? So, for instance, sage would replace/simplify an expression like sin(t+1)^2 + cos(t+1)^2 with 1.