PDA

View Full Version : pert's algorithm with flash cs3


nourine
12-13-2008, 08:06 PM
hi all,
i need help!!!!if any one knows how to implement pert's algorithm with flash cs3 that would be great!!!
waiting for your answers ;)

lordofduct
12-13-2008, 09:01 PM
pert as in A = p*e^(r*t)? Like for interest rates?

It's just a math funciton:


function pert( principle:Number, rate:Number, time:Number ):void
{
return principle * Math.pow(Math.E, rate * time);
}


just remember that your rate should match your time. If your rate is an APR, then time should be in years. If rate is an MPR, then time should be in months.


or did you mean PERT as in Programming Evaluation and Review Technique?

I merely assume the prior because your question was basic with very little depth so I assume the simplest answer. A more complex process should be elicited with far more detail, more work from me requires more work from you.