As the Space market evolves and accelerates, mission designers need space-capable electronics that balance performance, reliability, and affordability...
1. Quote of this month: " When I die, I want to die like my grandfather who died peacefully in his sleep. Not screaming like all the passengers in his...
Important: Read the blog first . The quiz questions are all based on the content from the blog: Mature, Not Old! The Longevity of 4 – 20 mA New...
by Bryson Barney As our world becomes ever more dependent on flawless digital communication, engineers need to find new ways of charting calm seas when...
IEC 61508 appears to include two very similar concepts. Type A and simple, which is referred to as “low complexity”. Anything that isn’t low complexity...
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!