First time here? Check out the FAQ!

Ask Your Question
0

Exact factorial/gamma values for half-integers

asked 13 years ago

daniel.e2718 gravatar image

is it possible to return exact values of (n+1/2)! and ?(n+1/2) for n is an integer?

Particular Values of the Gamma Function

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
3

answered 13 years ago

Mike Hansen gravatar image

Sage already supports this (at least as of 4.8):

sage: factorial(3/2)
3/4*sqrt(pi)
sage: gamma(5/2)
3/4*sqrt(pi)
Preview: (hide)
link

Comments

Ah. It doesn't for decimal inputs, like 1.5, but it does for 3/2. Thanks

daniel.e2718 gravatar imagedaniel.e2718 ( 13 years ago )
2

If you give a numeric input, it'll give you a numeric output. If you want an exact output, give it an exact input.

Jason Grout gravatar imageJason Grout ( 13 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 13 years ago

Seen: 839 times

Last updated: May 10 '12