Join us for an insightful webinar on how ADI’s Precision technology is transforming the landscape of high accuracy instrument design with cutting-edge...
1. Quote of the week: "Knowledge is knowing a tomato is a fruit. Wisdom is not putting it in a fruit salad" - unknown Sources: commons.wikimedia...
Quiz! Understand ISO 26262 Compliance Test your knowledge with our quick quiz , based on the blog " Safety in Layers: Why a Hybrid Approach Works ...
Power supplies are the unsung heroes of electronic devices, ensuring that they receive the precise, stable, and clean DC voltages they need to function...
Let’s dive deep into what makes field buses unique compared to each other. Building on our previous blog post, What Makes Field Bus Communication Unique...
Technical articles. Blogs. Videos. Your ADI content, all in one place.
Blurb About Content
The sum S of positive even integers starting from 2 to n (even) is described as :
S = 2 + 4 + 6 + 8 +… n where the last element n is even.
Questions:
The general formula for sum of even numbers is S= n(n+1)with n = 5298 the sum is 2,80,74,102
Thanks Rajesh for your prompt reply!
Well, not sure if n(n+1) can be rigtht!
Look, take the example of n=4. You should have S= 2 + 4 = 6 but you actually get 20 which is wrong...
True, for even numbers, it should be S= n/2 (n/2 + 1)
hence , for n = 5298, the sum S = 70,19,850
Yeah, these answers are much better! Thanks Rajesh!