posted by .

Hi. The question I'm having problems with:

Write the body of an iterative function to compute n!, where n! = n(n-1)(n-2)...1.

Then, analyze this function where the work unit is the multiplication operation.

I think I have the first part, but I'm confused on the second part.

Please help!!

When multiplying, use shorthand notation.


where you thinking something like
f(n+1) = (n+1)f(n), n>1, f(1)=1

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. Functions

    I need help with the following question. I am sure how to tell if something is a function or not. Determine whether the realtion is a function. {(-6,2),(-2,5), (3,2),(3,-7)} I think its not a function, but then again I think it is …
  2. Biology

    What is the function of lactose in the body?
  3. Pre Cal

    a function f is defined as f(x)= square root of (x+4). a) identify the domain of the function b) identify the range of the function c)Compute the intercept d) compute the x intercept E) sketch a graph of the function
  4. Calculus (Continuity)

    If the following function is continuous, what is the value of a + b?
  5. Calculus (Continuity)

    If the following function is continuous, what is the value of a + b?
  6. C++

    you are right the question is exactly like this... can you help me for this question.... thanks Write a MAIN function and a FUNCTION to compute the sum of the below series. ((-1)^(n+1)*n!)/(n^n) (from n=1 to infinity) Within the MAIN …
  7. Algebra 2

    Two Olympic swimmers, Ryan and Michael, create unique ripple waves in the water. The function created by Ryan is f(x) = 4x2 + 7. The function created by Michael is f(x) = 4x2 - 5x + 3. Describe to Ryan and Michael, using complete sentences, …

    PLEASE HELP ASAP!!!!! i don't know! Explain how to write a function rule from the table below. Then write a function rule. x: 2 4 6 y: 1 0 –1 i know its so simple but im having so much trouble!!!:( pls help!
  9. Math

    A quadratic function has a vertex of (3,-6) and the point (-1,10) lies on the graph of the function. Write the function in standard form. If you could help me with this question, that would be great. Thanks in advance.
  10. Mathematics

    Hello, I am currently computing the "efficiency index" of an iterative method, given by this formula E = p^(1/m), where p is the order of the method and m is the number of functional evaluation of the iterative method. However, i do …

More Similar Questions