PC Review


Reply
Thread Tools Rate Thread

Cosine function

 
 
mjoens
Guest
Posts: n/a
 
      15th Oct 2008
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???
 
Reply With Quote
 
 
 
 
Jim Cone
Guest
Posts: n/a
 
      15th Oct 2008
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???
 
Reply With Quote
 
Frederik
Guest
Posts: n/a
 
      15th Oct 2008
Instead of writing

cos^2(X)

you have to write

(cos(X))^2

Success!!!

--
met vriendelijke groetjes

(E-Mail Removed)
"mjoens" <(E-Mail Removed)> schreef in bericht
news:9C9CCB9F-45BB-4F75-914C-(E-Mail Removed)...
> 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???



 
Reply With Quote
 
Rick Rothstein
Guest
Posts: n/a
 
      15th Oct 2008
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

--
Rick (MVP - Excel)


"mjoens" <(E-Mail Removed)> wrote in message
news:9C9CCB9F-45BB-4F75-914C-(E-Mail Removed)...
> 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???


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cosine of 90 degrees mikelee101 Microsoft Excel Worksheet Functions 6 15th Sep 2009 06:35 AM
inverse cosine bflorox Microsoft Excel Discussion 4 13th Nov 2008 06:26 PM
Cosine Function Returns Wrong Answer! =?Utf-8?B?R29yZG9uIEFybmF1dA==?= Microsoft Excel Misc 15 9th Jul 2007 05:18 AM
inverse of cosine =?Utf-8?B?TWFyaW8=?= Microsoft VC .NET 5 1st Feb 2004 08:14 PM
Arc Cosine Adam Microsoft VB .NET 1 20th Dec 2003 06:26 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:48 AM.