Let `y=(cosx+cos2x+cos3x+cos4x+cos5x+cos6x+cos7x)/(sinx+sin2x+sin3x+sin4x+sin5x+sin6x+sin7x)`, then which of the following holds good?
A. The value of y `x=pi//8` is not defined.
B. The value of y when `x=pi//16` is 1.
C. The value of y when `x=pi//32` is `sqrt(2)-1`
D. The value of y when `x=pi//48` is `2+sqrt(3)`