Why ? 1-1+1-1+1…..=1/2

The sequence of partial sums of Grandi’s series is 1, 0, 1, 0, …, which clearly does not approach any number.Hence According to Modern mathematics definition of Convergence of Series , Grandi’s series is divergent.

Using the simplest methods other than integration or 1/x method we can prove Grandi’s series is converges to 1/2.

 

New Doc 3_2

Sorting methods in Short

Bubble sort

Bubblesort compares adjacent numbers and swap those that are out of order i.e if next number is greater than the previous one then numbers will not swap.This swapping would not stop until  the whole list would get ascending order.

When elements are sorted in reverse order then bubble sort takes maximum time .

When elements are already sorted then  it takes minimum time .
bubble sorted lists are stable.

Continue reading