2009 Jul 13 7:46 AM
Hi All,
I got a requirement to develop a Simulator for a chemical process.. In which ther will be some inputs given by the user for a process.. the output must be Optimus result or best result...
I need to know.. is ther any standard for using Permutation and Combinations..
Also is ther any feature to develop a simulation process??
Thanks and Regards
Aravindh Mani
Hi All,
I got a requirement to develop a Simulator for a chemical process.. In which ther will be some inputs given by the user for a process.. the output must be Optimus result or best result...
I need to know.. is ther any standard for using Permutation and Combinations..
Also is ther any feature to develop a simulation process??
Thanks and Regards
Aravindh Mani
2009 Jul 13 7:53 AM
hi,
_*FORMULA*_
Permutation = nPr = n! / (n-r)!
Combination = nCr = nPr / r!
where,
n, r are non negative integers and r<=n.
r is the size of each permutation.
n is the size of the set from which elements are permuted.
! is the factorial operator.
Example:
Example:Find the number of permutations and combinations: n=6; r=4.
Step 1: Find the factorial of 6.
6! = 6×5×4×3×2×1 = 720
Step 2: Find the factorial of 6-4.
(6-4)! = 2! = 2
Step 3: Divide 720 by 2.
Permutation = 720/2 = 360
Step 4: Find the factorial of 4.
4! = 4×3×2×1 = 24
Step 5:Divide 360 by 24.
Combination = 360/24 = 15
The above example will help you to find the Permutation and Combination manually.
hope this helps
Regards
RItesh J
2009 Jul 13 8:13 AM
Hi Ritesh,
Thanks for your reply.
I m ok with the formulas and all..
I m asking is ther any standard functionality for these formulas..
and my query is like .. these formulas gives u no of possiblities.
But i want to know which is best probability..
Eg:
i m mixing water some amount(say input from user) and some amount of heat(this too from user like 100 degrees..)..
so when the amount changes wat are the results... and ther is a standard like wat will be the boiling point of water..
U got my requirement???
Thanks n Regards
Aravindh Mani