![]() |
#11
|
|||
|
|||
![]()
It is hilarious how much everyone is struggling with this.
|
#12
|
|||
|
|||
![]()
you can also write a loop looking something like this:
declare (often dim) i, answer as integer answer=0 for i=1 to 40 answer = 8+2i + answer next i return answer answer = the sum of all the seats |
#13
|
|||
|
|||
![]()
Honestly.
Sn = n(a1 + an) / 2 = 40(10 + 88) / 2 = 1960 |
#14
|
|||
|
|||
![]()
[ QUOTE ]
It is hilarious how much everyone is struggling with this. [/ QUOTE ] I did? GoT |
#15
|
|||
|
|||
![]()
math is just ewww, but i suppose if i had to do i would grind it out like tron
|
#16
|
|||
|
|||
![]()
40*10+40*([0+78]/2)=1960
|
#17
|
|||
|
|||
![]()
[ QUOTE ]
Just put it in excel, drag the column down to how many rows there are, sum it up. Who needs math. [/ QUOTE ] and it took about 3 seconds |
#18
|
|||
|
|||
![]()
[ QUOTE ]
[ QUOTE ] Just put it in excel, drag the column down to how many rows there are, sum it up. Who needs math. [/ QUOTE ] and it took about 3 seconds [/ QUOTE ] Why am I not getting 1960 in Excel? 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 1950 |
#19
|
|||
|
|||
![]()
[ QUOTE ]
[ QUOTE ] [ QUOTE ] Just put it in excel, drag the column down to how many rows there are, sum it up. Who needs math. [/ QUOTE ] and it took about 3 seconds [/ QUOTE ] Why am I not getting 1960 in Excel? 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 1950 [/ QUOTE ] Not sure but if i add them up in excel i get 1960 |
#20
|
|||
|
|||
![]()
Because you're forgetting to include the first row in your sum...
|
![]() |
|
|