Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Just a matter of syntax (read the doc). You do not need to give [2,1] as parameters, only the actual parameters of the 2F1.

sage: a=1/3; b=2/3; c=5/6; x=27/32
sage: v=hypergeometric([a,b],[c],x)
sage: v.hypergeometric_simplify()
1/5*5^(11/12)*3^(1/4)*assoc_legendre_p(-2/3, 1/6, -11/16)*gamma(5/6)
sage: v.n()
1.60000000000000

So the simplification is not perfect.