Thread Closed

Exponents in Turbo Pascal

 
Share Thread Thread Tools
Dec9-03, 06:18 PM   #1
 

Exponents in Turbo Pascal


I'm doing a projext for school and I need to know how to use the ^ operator or if it even exists i looked everywhere and couldent find it.
 
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Hong Kong launches first electric taxis
>> Morocco to harness the wind in energy hunt
>> Galaxy's Ring of Fire
Dec9-03, 06:24 PM   #2
 
Recognitions:
Retired Staff Staff Emeritus
I have no idea where you where looking, but the first hit from google had the answer:

http://www.midnightbeach.com/jon/pub...exponentiation
 
Dec9-03, 06:25 PM   #3
 
thanks
 
Dec9-03, 06:26 PM   #4
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor
Retired Staff Staff Emeritus

Exponents in Turbo Pascal


Pascal, IIRC, doesn't have an exponentiation operator, but it does have built-in exp() and ln() functions, which can be composed as:

exp(y*LN(x))

which is the same as xy.

- Warren
 
Thread Closed
Thread Tools


Similar Threads for: Exponents in Turbo Pascal
Thread Forum Replies
Water Jet Pascal Introductory Physics Homework 2
pascal problem Engineering, Comp Sci, & Technology Homework 1
Turbo Pascal 7.0 Problem Programming & Comp Sci 0
Pascal question2 Computing & Technology 0
please help pascal Computing & Technology 1