For unlimited access to Study Guides, a Grade+ subscription is required.
sum from n=1 to infinity ofsin((pi*n)/4)/(n^2)
I know that the series convergesand I think that it converges absolutely.
I am supposed to use thealternating series test, but I am not sure as to how to "do thework" to prove this correct.
Any help is greatly appreciated.
15. What will the following method print when the input number n has value 5 public static void mystery (int n) { for (int i = -1; i < n; System.out.print (i + " ")) { i++; (A) 0 1 2 3 4 5 (B) 01234 (C) -1 0 1 2 3 4 5 (D) -101234 (E) The code does not compile.
Why does n=4 and a=2? I thought the answer would be n=3 => 3-1 = 2 and a=-2