- 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
Find the sum of all the numbers from 1 to 200.
Given: Numbers from 1 to 200.
To find: Here we have to find the sum of all the numbers from 1 to 200.
Solution:
We can get the answer by using the formula:
$S\ =\ \frac{n( n\ +\ 1)}{2}$
Putting value of n = 200:
$S\ =\ \frac{200(200\ +\ 1)}{2}$
$S\ =\ 100\ \times\ 201$
$S\ =\ \mathbf{20100}$
So, sum of all the numbers from 1 to 200 is 20100.
Advertisements
To Continue Learning Please Login
Login with Google