Go to Post Being consistently enthusiastic with a consistent message is not easy to do without sounding like a cult. We could use a reasonably large collection of things to say that restate the mission and vision of FIRST but don't appear to be stock phrases. - Alan Anderson [more]
Home
Go Back   Chief Delphi > Other > Math and Science
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #25   Spotlight this post!  
Unread 22-01-2004, 16:51
echos's Avatar
echos echos is offline
Jack of all trades
#1125
Team Role: Programmer
 
Join Date: Dec 2003
Location: San Diego, CA
Posts: 61
echos will become famous soon enough
Send a message via ICQ to echos Send a message via AIM to echos Send a message via MSN to echos Send a message via Yahoo to echos
Re: Crazy Math Formulas

Thanks for the correction it was a little fuzzy in my mind. I found that one on google a while back ago and made a c program out of it. but i lost the source code.

Code:
 unsigned double float pi;
 unsigned int top;
 unsigned int bottem;
 unsigned int count;
 
 int main()
 {
 top = 2;
 bottem = 1;
 pi = top/bottem;
 
 while(count < 10000)
 {
 pi *= top/bottem;
 bottem += 2;
 
 pi *= top/bottem;
 top += 2;
 
 count++
 }
 
 printf ("pi = %f", pi*2);
 }

Last edited by echos : 22-01-2004 at 16:59.
Reply With Quote
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Column Under Construction (2003 10-30) EddieMcD Chit-Chat 12 07-11-2003 20:14
What formulas can you use? Tton General Forum 7 04-11-2003 00:33
Image Discuss: Team 179's Crazy Critter CD47-Bot Robot Showcase 95 25-03-2003 08:08
crazy stuff chris144 Chit-Chat 19 08-04-2002 20:13
Logical statements or math formulas Manoel Programming 1 16-02-2002 23:29


All times are GMT -5. The time now is 01:37.

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