Can someone help me with exponentation | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Can someone help me with exponentation

im just not getting it at alllll

22nd Apr 2017, 2:52 AM
A singular Stick of Pocky
18 Réponses
+ 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.
22nd Apr 2017, 3:26 AM
Agus Mei
Agus Mei - avatar
+ 12
how old are you? you can break the record of the youngest Sololearner.
22nd Apr 2017, 3:17 AM
Agus Mei
Agus Mei - avatar
+ 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.
22nd Apr 2017, 3:13 AM
Agus Mei
Agus Mei - avatar
+ 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.
22nd Apr 2017, 3:26 AM
Rrestoring faith
Rrestoring faith - avatar
+ 10
Exponentation? Like exponents? Raising numbers to powers?
22nd Apr 2017, 2:58 AM
J.G.
J.G. - avatar
+ 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?
22nd Apr 2017, 3:04 AM
J.G.
J.G. - avatar
+ 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?
22nd Apr 2017, 3:11 AM
J.G.
J.G. - avatar
+ 9
no, a lot 13 years old here. the youngest one is 10 and she has already gold level.
22nd Apr 2017, 5:44 AM
Agus Mei
Agus Mei - avatar
+ 6
lol@teacher snipe.. we all had one we hated.
22nd Apr 2017, 3:47 AM
jay
jay - avatar
+ 2
yeah im just not getting how it works
22nd Apr 2017, 2:58 AM
A singular Stick of Pocky
+ 2
can ya help me
22nd Apr 2017, 2:59 AM
A singular Stick of Pocky
+ 2
I guess I'll show you what im talking about
22nd Apr 2017, 3:06 AM
A singular Stick of Pocky
+ 2
>>> 2**5 32 >>> 9 ** (1/2) 3.0
22nd Apr 2017, 3:07 AM
A singular Stick of Pocky
+ 2
oh im 13 did I break the record 😂
22nd Apr 2017, 4:38 AM
A singular Stick of Pocky
+ 1
it showed me this and I don't know how it works or how to do the problem
22nd Apr 2017, 3:08 AM
A singular Stick of Pocky
+ 1
no I haven't im only in the seventh grade and my math teacher is a bitch
22nd Apr 2017, 3:14 AM
A singular Stick of Pocky
+ 1
what about the 32 one im all confused on that one
22nd Apr 2017, 3:17 AM
A singular Stick of Pocky
0
waaaa 10 year old well there goes my self esteem a 10 is better at coding than me😑
22nd Apr 2017, 5:45 AM
A singular Stick of Pocky