English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

show work i have a F*king migrane and its getting late help PLS!!!

2007-05-03 18:42:02 · 7 answers · asked by Mr.Deeds 5 in Science & Mathematics Mathematics

7 answers

the number of odd numbers in total=(99-1)/2+1=50
The sum =(1+99)*50/2=2500

2007-05-03 18:50:12 · answer #1 · answered by Anonymous · 2 0

Cripes, anyone knows that in a sum like this you just pair up values from opposite ends. 99+1, 97+3, etc. All 100. There are 25 such pairs. So the answer is 2500 and you don't need more than one flat second to figure that out. If someone asked me to write a C++ program to print out the sum of all the odd numbers from 1 to 99 inclusive, with no further spec than that, I'd write them this: #include int main() { std::cout << 2500 << std::endl; return 0; } It's just too obvious and they'd deserve that result.

2016-04-01 07:52:07 · answer #2 · answered by ? 4 · 0 0

1 + 99 +
2 + 98 +
3 + 97 +
....
49 + 51 +
50

= (49 * 100) + 50 = 4950

2007-05-03 18:49:57 · answer #3 · answered by TychaBrahe 7 · 1 1

Use the Gaussian method.

1+99 = 100
2+98 = 100
3+97 = 100
...
49+51 = 100
50 = 50
49*100+50 = 4950

OR if 99=(n-1), 100=n, then you can use [n(n-1)]/2 = (n^2)/2 - n/2

both equations work, you figure it out

2007-05-03 18:56:45 · answer #4 · answered by deque 2 · 0 1

"pair off" numbers

1+99=100
3+97=100
.
.
.
47+53=100
49+51=100

there are 25 such pairs.
25*100=2500

Hope your migraine is better

2007-05-03 19:22:08 · answer #5 · answered by yupchagee 7 · 0 0

i agree with quilasheila.. don't have to put rude remarks in here if you want help.. it is not necessary..

2007-05-03 18:56:51 · answer #6 · answered by michael_scoffield 3 · 0 1

Don't like your rude remarks.
Guess I will let you do it.
Came here to do math not to listen to you complain!

2007-05-03 18:45:35 · answer #7 · answered by Anonymous · 1 3

fedest.com, questions and answers