Cosine function

  • Thread starter Thread starter mjoens
  • Start date Start date
M

mjoens

Hi
I'm working with a lot of math functions in the VB editor, but I can't find
the function for the cos^2(X)

example: ((Cos ^ 2)(Atn((t2 * Cos(a) - 10.5 * (10 ^ -3) * Sin(a) - x)))
doesn't work - so how am I supposed to write it?

Can anybody help me with this???
 
Have you looked in the help file for Cos?
--
Jim Cone
Portland, Oregon USA


"mjoens"
wrote in message
Hi
I'm working with a lot of math functions in the VB editor, but I can't find
the function for the cos^2(X)
example: ((Cos ^ 2)(Atn((t2 * Cos(a) - 10.5 * (10 ^ -3) * Sin(a) - x)))
doesn't work - so how am I supposed to write it?
Can anybody help me with this???
 
When you see Cos²(X), that is notational convenience... it helps clarify
that X is not being squared which could be mistaken if you wrote it as
Cos(X)², but mathematically, what it really means is take the Cos(X) and
raise it to the second power, like this... (Cos(X))^2
 
Back
Top