Hi 3DDave
Thanks for your great description.
it works correctly [smile]
also, I changed equations so now your definition is based on waves number.
simply the number you explained is always = [highlight #8AE234]Number of Waves - 1.5[/highlight]
I named it: Waves_Coefficient
thanks a lot...