Answer:
Step-by-step explanation:
Let's use python for this:
recursive_exponent(n, r):
if n == 0:
return 1
else:
return r*recursive_exponent(n - 0.5, r)
To use this function, simply call it:
print(recursive_exponent(n, r))
The way it works is that n would start from top, and for each step it would get reduced by 0.5 until it gets to 0. Hence there will be 2n steps. At each step, r gets multiplied by itself. In the end r will multiplied by itself 2n times. Therefore,
