Finite State Machine

From Progzoo

Revision as of 20:20, 16 February 2012 by Andr3w (Talk | contribs)

Finite State Machines

Contents

Even Binary Numbers

The function fact takes a single integer input. The result is that number times by each of the numbers smaller - down to one.

fact(1) =   1         =   1
fact(2) =   1*2       =   2
fact(3) =   1*2*3     =   6
fact(4) =   1*2*3*4   =  24
fact(5) =   1*2*3*4*5 = 120

[Font] [Default] [Show] [Resize] [History] [Profile]

What is the function


[Font] [Default] [Show] [Resize] [History] [Profile]


What is the function


[Font] [Default] [Show] [Resize] [History] [Profile]

What is the function


[Font] [Default] [Show] [Resize] [History] [Profile]