Question about Computers & Internet

2 Answers

How to find the sum of odd numbers - Computers & Internet

Posted by on

2 Answers

  • Level 3:

    An expert who has achieved level 3 by getting 1000 points

    All-Star:

    An expert that got 10 achievements.

    MVP:

    An expert that got 5 achievements.

    Vice President:

    An expert whose answer got voted for 100 times.

  • Master
  • 570 Answers

The sum of all odd numbers, up to the odd number (2n-1) is
n^2. To illustrate this, think of the following example: What is
1 + 3 + 5 + ... + 997 + 999 ?

Well, 999 is of the form 2(500)-1, so n, in this case, is 500, so the
sum of all odd numbers (from 1) up to 999 is 500^2 or 250,00

So after placing formula you can get the answers easily
Thanks
Have a great day

Posted on Aug 29, 2010

  • Level 1:

    An expert who has achieved level 1.

    Hot-Shot:

    An expert who has answered 20 questions.

    Corporal:

    An expert that has over 10 points.

    Mayor:

    An expert whose answer got voted for 2 times.

  • Contributor
  • 43 Answers

For(i=1;i<n;i=i+2)
sum=sum+i;



n=no of terms,sum=0

Posted on Aug 29, 2010

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

If the sum of three whole numbers is odd,what conclusion can be made about the parity of the numbers? Give examples to support your answer.


Either one or three of the numbers are odd. I'll let you do the rest of your homework on your own.

Mar 05, 2017 | Homework

1 Answer

Mean, median, mode


Mean= average =(sum of data values)/(number of data values)
Mode is the most frequent data value.
Median: Sort the data in ascending order. The element in the middle is the median.
If the number of data is odd, there will be one MIDDLE element. It is the median.
If the number of data is even, there will be two elements in the middle. Add the values of these middle elements and divide by 2. The result will be the median. It is not part of the data.

Apr 22, 2014 | Texas Instruments TI-34II Explorer Plus...

1 Answer

TI-34 mean, median, mode


Mean= average =(sum of data values)/(number of data values)
Mode is the most frequent data value.
Median: Sort the data in ascending order. The element in the middle is the median.
If the number of data is odd, there will be one MIDDLE element. It is the median.
If the number of data is even, there will be two elements in the middle. Add the values of these middle elements and divide by 2. The result will be the median. It is not part of the data.

Apr 22, 2014 | Texas Instruments TI-34 Scientific...

3 Answers

9999555533331111 out of these numbers any 6 numbers total is 21? how


this would be explained on the basis of two FACTS below.......
sum of two odd numbers are always even and
sum of to even numbers are also always even

then how 6 odd numbers (consider 3 pairs, 9 5 3 1 being odd numbers) can make an odd number 21..!!
SO SIMPLE
Make your basics strong...


Aug 14, 2010 | Computers & Internet

1 Answer

Pls. help me


Q.2#  Dim n, sum as Double
Dim i as Integer
n=100
sum=0

for i=1 to n
sum=sum+1/n
next i

Q.3#  Dim sum as Double
sum=0
for i=1 to 99
if i%2 <> 0 then sum=sum+i end if
next i

Sep 16, 2008 | Microsoft AccRepair DS2 2004 for Fr...

1 Answer

Read n & m, display the sum of all the even and odd numbers between n to m.


#include <stdio.h>

int main()
{
int n1, n2, i;
int sum = 0;
n1 = 3;
n2 = 11;

for (i = n1; i <= n2; i++) {
if (i % 2 == 0) {
printf("Adding %d\n", i);
sum = sum + i;
}
}
printf("sum = %d\n", sum);
return 0;
}

Feb 21, 2008 | Computers & Internet

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

111 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Doctor PC
Doctor PC

Level 3 Expert

7733 Answers

kakima

Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...