1.

WAP to find the sum of the first 10 natural numbers

Answer»

address the formula, input PARAMETERS & values. Input parameters & values: The number series 1, 2, 3, 4, . . . . , 9, 10. The first TERM a = 1 The common difference d = 1 Total number of terms n = 10 step 2 apply the input parameter values in the formula Sum = n/2 x (a + Tn) = 10/2 x (1 + 10) = 110/2 1 + 2 + 3 + 4 + . . . . + 9 + 10 = 55   THEREFORE, 55 is the sum of POSITIVE integers upto 10.



Discussion

No Comment Found