Tool to compute power of a number. Exponentiation (or power) of a number a^b is the result of the b-times repeated multiplication of this number a by itself.

dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day! You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? Contact-me!

This page is using the new English version of dCode, please make comments !

Tool to compute power of a number. Exponentiation (or power) of a number a^b is the result of the b-times repeated multiplication of this number a by itself.

Answers to Questions

How to calculate a raised to power b?

Calculating a power b means to multiply a by itself b times.$$ a^n = \underbrace{a \times \cdots \times a}_{b\ times} $$

How to write a raised to power b?

The exponentiation calculation is often indicated by a circumflex ^.

a^b for a power b (a is called the base and b the exponent).

In some programming languages there is also a**b (the multiplication sign twice)

Why exponent has to be an integer and not rational?

Exponent corresponds to the number of times the multiplication has to be done. If the exponent is not an integer, it becomes a root calculus and is not managed by this function.

Ask a new question

Source code

dCode retains ownership of the source code of the script Exponentiation. Except explicit open source licence (free / freeware), any algorithm, applet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any snippet or function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in PHP (or Java, C#, Python, Javascript, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the Exponentiation script for offline use, for you, your company or association, see you on contact page !

dCode uses cookies to customize the site content, analyze user behavior and adapt dCode to your use. Some data is stored and collected for advertising purposes and may be shared with our partners. OK