|
-
Jul 10th, 2007, 12:45 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] [2005] Simple Equation that returns error
Hi,
The eqn below is returning error with K =-1.#IND
k = arc cosine(-(g/2i)
which I coded as
Code:
k = Acos(-(g / 2 * i))
where
g=4.0740740740740744
i=8.3356375415197839
Will appreciate any responses...
-
Jul 10th, 2007, 01:00 AM
#2
Re: [2005] Simple Equation that returns error
acos (according to docs) only accepts Cosine as a value.
so it needs a value passed to it in the range of -1 to 1.
your number you are passing it is much smaller than -1.
-
Jul 16th, 2007, 11:37 PM
#3
Thread Starter
Hyperactive Member
Re: [2005] Simple Equation that returns error
Hi Orwell,
Thanks for your inputs;
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|