Question
Using a list comprehension, give an expression that calculates the sum $1^2+2^2+\ldots 100^2$ of the first one hundred integer squares.
Step 1
We need to calculate the sum of the squares of the first 100 positive integers. This means we need to compute \(1^2 + 2^2 + 3^2 + \ldots + 100^2\). Show more…
Show all steps
Your feedback will help us improve your experience
Amy Jiang and 59 other educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
To find the sum of squares of the first 100 natural numbers in python
Use summation rules to compute the sum. $$\sum_{i=1}^{100}\left(i^{2}-3 i+2\right)$$
Integration
Sums and Sigma Notation
Use summation rules to compute the sum. $$\sum_{i=1}^{200}\left(4-3 i-i^{2}\right)$$
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD