Ask Your Question

nate_iverson's profile - activity

2020-11-23 12:06:18 +0200 received badge  Famous Question (source)
2019-02-07 23:09:02 +0200 commented question jupyter tutorial

how do we access inline help? previously typing a function then ? [tab] worked right? now it seems to be something different

2018-05-22 15:22:03 +0200 received badge  Scholar (source)
2018-05-22 15:22:01 +0200 received badge  Supporter (source)
2018-05-18 13:46:12 +0200 received badge  Editor (source)
2018-05-18 13:40:30 +0200 asked a question libgap seems broken

I noticed that GO(4,4,1) is returning order a group of order 72 while native gap returns 7200. Apparently it doesn't encode the order of the field correctly and always sets it to 2. Run the following to verify the error

sage:libgap(GO(4,4,1))

GO(+1,4,2)

or

sage:libgap(GO(4,GF(4),1))

GO(+1,4,2)

This is in 'SageMath version 8.1, Release Date: 2017-12-07' on ubuntu 18.04 apt installation.

Is there some other way to access native GAP commands in a worksheet that I'm overlooking?

In particular I'm just interested in evaluating the native gap command

Order(GO(1,4,4));

2014-02-07 22:03:47 +0200 received badge  Notable Question (source)
2013-02-13 09:05:54 +0200 received badge  Popular Question (source)
2011-08-03 23:46:59 +0200 received badge  Student (source)
2011-08-03 20:41:52 +0200 asked a question subticks in 2d plot

How would you control the subticks in a 2d plot?

var('x')
p=plot(5*sin(x/10)*sin(x),(x,0,20*pi))
p.show(ticks=[[0,5*pi,10*pi,15*pi,20*pi],5],tick_formatter="latex")

Gives the labelled ticks exactly where I would like them but I'd like to have unlabelled ticks at every pi value. In particular I'm looking at graphing +-5sin(x/10) and having some students fill in the plot of the more complicated function

2011-05-25 02:45:19 +0200 received badge  Teacher (source)
2011-05-25 02:45:19 +0200 received badge  Necromancer (source)
2011-05-24 19:03:33 +0200 answered a question Plotting question

Try

def Pabrf:
    return N((abs(Be*exp(-i*Hrfrf(Phip=0)*tp)*Al))^2)
plot(Pabrf)