If sinπ2n+cosπ2n=√n2, where n∈Z, then the number of values of n between 4 and 8 for which the equation is true is?
Let n be positive integer such that sinπ2n+cosπ2n=√n2. Then