hey everybody,
I have a question involving visual basic -
im creating a program that allows you to draw a triangle, and will then compute the side lengths and
angle measurements. However, i need to use inverse cosine to figure the angles out.
I know the formula for inverse cosine is
Arccos(X) = Atn(-X / Sqr(-X * X + 1)) + 2 * Atn(1)
I get the error "Invalid Call Procedure, or Argument"
and arccos(x)=empty
If any one knows how to use the function, please give me some example code.
Thanks alot