Cosine function

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???
 
J

Jim Cone

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???
 
R

Rick Rothstein

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top