Calculating the power of a quadratic irrational
We calculate (a + b√d)
^{n}
by fast exponentiation, where a, b, d and n are integers and d and n are positive.
Enter a:
Enter b:
Enter d (> 0):
Enter n (> 0):
Last modified 7th February 2007
Return to main page