- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What is the sum of the numbers from 1 to 100?
Given :
The numbers are from 1 to 100.
To do :
We have to find the sum of the numbers from 1 to 100.
Solution :
Sum of n natural numbers is given by $\frac{n(n+1)}{2}$.
Therefore,
Sum of the numbers from 1 to 100 $= \frac{100(100+1)}{2}$
$= 50 \times 101$
$= 5050$.
Therefore, the sum of the numbers from 1 to 100 is 5050.
Advertisements