Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Exponents in Turbo Pascal

  1. Dec 9, 2003 #1
    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.
  2. jcsd
  3. Dec 9, 2003 #2


    User Avatar
    Staff Emeritus

  4. Dec 9, 2003 #3
  5. Dec 9, 2003 #4


    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

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


    which is the same as xy.

    - Warren
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook