Announcement

Collapse
No announcement yet.

ArcCos() function?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Todd Wasson
    replied
    Great, thanks Lance

    Todd Wasson

    ------------------

    Leave a comment:


  • Lance Edmonds
    replied
    Code:
    FUNCTION ArcSin(BYVAL Value AS DOUBLE) AS DOUBLE
      FUNCTION = ATN(Value / SQR(1 - Value * Value))
    END FUNCTION      
     
    FUNCTION ArcCos(BYVAL Value AS DOUBLE) AS DOUBLE
      FUNCTION = 1.570796326794895# - ArcSin(Value)
    END FUNCTION

    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Todd Wasson
    started a topic ArcCos() function?

    ArcCos() function?

    If ArcSin() is:
    ASIN(L)=ATN(L/(SQR(1-L^2))

    How could the ArcCosine() of a number be found?

    Thanks,
    Todd Wasson




    ------------------
Working...
X