About fact2(n)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
About fact2(n)
- Labels:
-
Algebra_Geometry
-
Calculus_Derivatives
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@-MFra- wrote:
I have the impression that you are making confusion. The double factorial is not the factorial of the factorial of n. On Wiki ... there is a broad description.
The number that you show fact2(3) evaluating to is actually (4!)! (620448401733239000000000). (10!)! is monstrously long.
Do you have anything else defined earlier in your worksheet that might affect the result?
Cheers,
Stuart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Works for me in M15:
If I try fact2(10)= I get the error message "This variable is not defined". (It's symbolic only)
Alan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I also use M15.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Appears to be wrong, see also:https://www.maplesoft.com/support/help/Maple/view.aspx?path=factorial
Success!
Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I have the impression that you are making confusion. The double factorial is not the factorial of the factorial of n. On Wiki ... there is a broad description.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@-MFra- wrote:
I have the impression that you are making confusion. The double factorial is not the factorial of the factorial of n. On Wiki ... there is a broad description.
The number that you show fact2(3) evaluating to is actually (4!)! (620448401733239000000000). (10!)! is monstrously long.
Do you have anything else defined earlier in your worksheet that might affect the result?
Cheers,
Stuart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
there must be interference with something defined in a large reference file, which I am using. In fact, if I use fact2 in a new file without a reference file, everything is fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I found the problem. In the definition of the new operator !!, there was a redefinition of fact2.
Thank you
