[Blindmath] Bases, exponents, and recursion

sabra1023 sabra1023 at gmail.com
Sun Sep 8 21:10:52 UTC 2013


I'm not sure. The way you wrote it seems very confusing to me. I know that the basis to the left of the exponent symbol and the exponent is to the right, but that's probably not what you were looking for.

On Sep 8, 2013, at 4:01 PM, "Andy B." <sonfire11 at gmail.com> wrote:

> I have what most likely is a simple problem. However, it is quite
> complicated to figure out. I have the following problem I have to solve:
> 
> 
> 
> Create a function called power that takes a base and exponent as the
> arguments, then returns a base exponent. For example, power(2,5)= 2*2*2*2*2.
> In the recursion step, use the relationship:
> 
> Base exponent=base*base exponent-1
> 
> 
> 
> I am totally confused. What exactly is a base exponent?
> 
> 
> 
> 
> 
> The sample that I have used 6! As an example, but it doesn't seem to help
> when trying to figure out the power of a number through recursion. I assume
> the example wants something like this:
> 
> 
> 
> Power(2,5)=
> 
> 
> 
> Recursion steps:
> 
> Exponent = result
> 
> 1=2
> 
> 2=4
> 
> 3=8
> 
> 4=16
> 
> 5=32
> 
> 
> 
> 
> 
> _______________________________________________
> Blindmath mailing list
> Blindmath at nfbnet.org
> http://nfbnet.org/mailman/listinfo/blindmath_nfbnet.org
> To unsubscribe, change your list options or get your account info for Blindmath:
> http://nfbnet.org/mailman/options/blindmath_nfbnet.org/sabra1023%40gmail.com




More information about the BlindMath mailing list