0

What dose it mean when a item is squared and how do you caculate it?

I was not paying attention to math class coding is honestly harder than I thought and I hate math so help me out

7th Nov 2017, 2:38 AM
Pouch
Pouch - avatar
4 Answers
+ 8
I guess it's a valid question, so... To square a number means to multiply it by itself, so "x squared" equals x*x. The naming is probably linked to the fact that this is how you get the area of a square, given its side of x length. Similarly, "x cubed" is x*x*x, as this is how you get the volume of a cube with a side x. Example: 3 squared is 3*3 = 9 4 squared is 4*4 = 16 2 cubed is 2*2*2 = 8
7th Nov 2017, 7:36 AM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 2
@Pouch, chill mate, so your question is regarding the squared as in [a, b, c] or (a + b +c) please give a little more about it, I'm afraid I'm not getting your intention here :)
7th Nov 2017, 5:44 AM
Ipang
+ 1
If you meant () parentheses in arithmetic operations it generally means that whatever calculation within the parentheses are calculated first, prior to other operations. e.g. 2 * (5 + 3), here, 5+3 is calculated first, then the result will be multiplied by 2. Hope I get your question correctly. Hth, cmiiw
7th Nov 2017, 5:48 AM
Ipang
0
I just want to learn how to code and you treat me like s***
7th Nov 2017, 2:41 AM
Pouch
Pouch - avatar