Go to Post what hint? - Electricia 1599 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Spotlight this post!  
Unread 25-01-2003, 00:05
Cipher X's Avatar
Cipher X Cipher X is offline
Registered User
no team (Former SigmaC@t Member)
 
Join Date: Jan 2003
Location: Sunrise/Ft Lauderdale, FL
Posts: 39
Cipher X is an unknown quantity at this point
Send a message via AIM to Cipher X
ArcTan

I did some searching and found this http://www.mcs.surrey.ac.uk/Personal...pi.html#arctan

arctan( t ) = t – (t^3)/3 + (t^5)/5 - (t^7)/7 + (t^9)/9 - (t^11)/11 .........

-1< t < 1

I tried it out its pretty close to what the real value is

x = tan (.5)
arctan(x) should equal .5

x – (x^3)/3 + (x^5)/5 - (x^7)/7 + (x^9)/9 - (x^11)/11 = 0.4999763883

But Surprisingle enough

x – (x^3)/3 + (x^5)/5 - (x^7)/7 + (x^9)/9 = 5.000939788

The More terms you do the more accurate your answer is

!The only problem you might run into in pbasic is memory and speed!

Cipher X
__________________
"Whatever you do will be insignificant, but it is very important that you do it."
-Mahatma Gandhi
 


Thread Tools
Display Modes 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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 14:57.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi