0
Can someone help me with exponentation
im just not getting it at alllll
18 ответов
+ 15
J.G. has explained it for you.
so let make it simple
2^1 = 2
2^2 = 2 x 2 = 4
2^3 = 2 x 2 x 2 = 8
2^4 = 2 x 2 x 2 x 2 = 16
2^5 = 2 x 2 x 2 x 2 x 2 = 32
so 2**5 is the same of 2^5.
+ 12
how old are you?
you can break the record of the youngest Sololearner.
+ 11
3.0 is the result of square root of 9.
python implicitly change int to float.
you can also use math.sqrt(9) which give the same float result.
+ 11
Some more explanations that hopefully help, if I'm not already repeating what was said xD. Math lesson 101.
* is to multiply. ^ is exponent. x, y, n are letters that represent any number.
2^5
can be written as:
2*2*2*2*2 = 32.
so x^n is defined as:
x*x*x (n times).
Though, it's a bit trickier with non-integer exponents. (An exponent is the number raised to x, in this case 'n')
with x^(1/2).
it's the same as the square root of x.
Square root is some number y, that when squared will be equal to x.
Squaring a number means to put it to the exponent 2.
so if x = 9.
some number squared that would equal 9 is 3.
That is, 3^2 = 3*3 = 9.
+ 10
Exponentation? Like exponents? Raising numbers to powers?
+ 10
Hmm... This is something we learn in mathematics class. So, think of something easy. 2^2=4. Multiply 2 twice. 2*2=4. That's what exponents are, at least exponents greater than 1. take 5^3=5x5x5=125. Multiply the base (first number) n times, where n is the exponent. It gets way more complicated than that, but that is the basic idea. Does that help at all?
+ 10
One note: '**' = '^'
So 2^5. That is 2*2*2*2*2=32
And 9^.5=sqrt(9)=3. Have you learned exponents before?
+ 9
no, a lot 13 years old here.
the youngest one is 10 and she has already gold level.
+ 6
lol@teacher snipe.. we all had one we hated.
+ 2
yeah im just not getting how it works
+ 2
can ya help me
+ 2
I guess I'll show you what im talking about
+ 2
>>> 2**5
32
>>> 9 ** (1/2)
3.0
+ 2
oh im 13 did I break the record 😂
+ 1
it showed me this and I don't know how it works or how to do the problem
+ 1
no I haven't im only in the seventh grade and my math teacher is a bitch
+ 1
what about the 32 one im all confused on that one
0
waaaa 10 year old well there goes my self esteem a 10 is better at coding than me😑