Re: Tangent
- To: mathgroup at smc.vnet.net
- Subject: [mg20583] Re: [mg20568] Tangent
- From: BobHanlon at aol.com
- Date: Sat, 30 Oct 1999 14:54:56 -0400
- Sender: owner-wri-mathgroup at wolfram.com
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?
>