Page 1 of 1

factorial in Vensim PLE

Posted: Mon Sep 06, 2010 8:01 am
by msc87
Hi dear friends
I am modeling a system using vensim PLE.
i need factorial function for defining a mathematical relationship between two factors but i think this version of Vensim does not have this function. please help me......

regards

Posted: Mon Sep 06, 2010 10:41 am
by bob@vensim.com
That's true - factorials can be done using GAMMA LN and that is NOT in Vensim PLE or PLE Plus.

You can do this with a Lookup function that has the x,y pairs for factorial that is

(0,1), (1,1), (2,2), (3,6), ...

and so on. There actually aren't that many points that need to be filled in since this blows up so fast

TNX

Posted: Mon Sep 06, 2010 2:31 pm
by msc87
thanks for your prompt answer.