Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How Can i get the answer not the equation again ?

Hi , sorry this may seem so easy but i'm just starting sage !

I want this code to show the answer, how can i do that ? how can i change the code ?

n=var('n) f=factorial(2*n + 3)/factorial(n + 1) f.simplify_factorial()

output is : factorial(2*n + 3)/factorial(n + 1)

How Can i get the answer not the equation again ?Simplify factorials Question

Hi , sorry this may seem so easy but i'm just starting sage !

I want this code to show the answer, how can i do that ? how can i change the code ?

n=var('n)
f=factorial(2*n + 3)/factorial(n + 1) 
f.simplify_factorial()

f.simplify_factorial()

output is : :

factorial(2*n + 3)/factorial(n + 1)

1)