MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Tangent


You could calculate the function from its power series

Series[ArcTan[x], {x, 0, 8}]

\!\(\*
  InterpretationBox[
    RowBox[{"x", "-", \(x\^3\/3\), "+", \(x\^5\/5\), "-", \(x\^7\/7\), "+", 
      InterpretationBox[\(O[x]\^9\),
        SeriesData[ x, 0, {}, 1, 9, 1]]}],
    SeriesData[ x, 0, {1, 0, 
      Rational[ -1, 3], 0, 
      Rational[ 1, 5], 0, 
      Rational[ -1, 7]}, 1, 9, 1]]\)

Sum[-(-1)^n * x^(2n - 1)/(2n - 1), {n, 1, Infinity}]

ArcTan[x]

or you could check whether VB6 -- like VBA -- has the function 

    Atn(number)

Bob Hanlon

In a message dated 10/30/1999 5:35:23 AM, morris at chch.planet.org.nz writes:

>I am writing a computer program in VB6 and I need
>to write is into code:
>
>       -1
>Tan
>
>eg:
>
>      -1
>Tan    0.8 = 38.66
>
>Does anyone know how to write this?
>


  • Prev by Date: Re: Configuring MiKTeX 1.20d to read Mathematica 4 TeX files
  • Next by Date: Re: Zeta Function
  • Previous by thread: Tangent
  • Next by thread: General XML parser for Mathematica