Thread: Formula problem

  1. #1
    Cassius
    Guest

    Formula problem

    Hi i've got a formula in which part of it look's like this:

    11
    x
    ----
    11!

    where x is the variable for the power. Would anyone know the purpose of the ! (not) on 11, and what effect it would have on it?
    Thanks.

  2. #2
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Not sure what you mean.
    In mathematics, ! is the factorial operator.

    n! = 1 * 2 * 3 * 4 * ... * (n - 1) * n

    (special case: 0! = 1)

    examples:

    2! = 1 * 2 = 2
    4! = 1 * 2 * 3 * 4 = 24
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  3. #3
    Cassius
    Guest
    Right so

    11! would be: -


    1 * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * 11 = 39916800?

  4. #4
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    *checking the number on my calculator*

    Yep, that's true!
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  5. #5
    Cassius
    Guest
    Right thanks, you've sorted the problem out for me!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Someone having same problem with Code Block?
    By ofayto in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2007, 08:38 AM
  2. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  3. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 06:54 PM
  4. Laptop Problem
    By Boomba in forum Tech Board
    Replies: 1
    Last Post: 03-07-2006, 06:24 PM
  5. Replies: 5
    Last Post: 11-07-2005, 11:34 PM