Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Squaring and Square Roots
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
ArchAngel16




PostPosted: Tue Mar 22, 2005 5:23 pm   Post subject: Squaring and Square Roots

Hey guys I am writing up a program to do Arithmetric and Geometric Series ect. but my problem is turing cant square things or do square roots as far as I know. I have no clue why I am writing it considering as I havent used turing in about a year lol. I guess its just a refresher in programming for me so that I can do Gr12 programming next year. Anyways any tips are appreciated on how to do these formulas
Sponsor
Sponsor
Sponsor
sponsor
Naveg




PostPosted: Tue Mar 22, 2005 5:27 pm   Post subject: (No subject)

3**2 = 9
4**2 = 16 etc....

sqrt(16)=4
sqrt(9)=3 etc....
Cervantes




PostPosted: Tue Mar 22, 2005 8:47 pm   Post subject: (No subject)

Right, but don't forget that if you need to do something like the fourth root of 16:
code:

put 16**(1/4)
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: