adding power equation

This commit is contained in:
Jidong Xiao
2023-09-19 23:13:34 -04:00
parent 8cea2a17b0
commit 5312773e4d

View File

@@ -145,12 +145,7 @@ for (int j=i; j<n; ++j)
![alt text](factorial_equation.png "factorial equation") ![alt text](factorial_equation.png "factorial equation")
- Computing integer powers is defined as: - Computing integer powers is defined as:
n ![alt text](power_equation.png "power equation")
p =
(
n · n
p1 p > 0
1 p == 0
These are both examples of recursive definitions These are both examples of recursive definitions