On Fri, 19 Mar 2010 15:37:01 -0700, Philosophaie
<(E-Mail Removed)> wrote:
>There are two ways to use the Acos trig function:
>
>Application.WorksheetFunction.Acos(argument)
>and
>Application.Acos(argument)
>
>I can not get the first on to work at all. The second only intermittenly.
>
>RA(k) = Application.Acos(u(k))works only partially even though it is between
>the range -1<=u(k))<=1.
>
>When I add "180/pi*" in front of it gives me a type mismatch error?
It works OK here.
What happens to you? Program crash? Unexpected result? Error message? OS
crash?
Perhaps if you share the code, as well as the actual inputs and expected and
actual results you might get some useful information.
Best guess with the limited information you provide is that your expectations
are not in accord with how the function works.
--ron
|