For $0\le n\le90$: pairing $n$ with $90-n$ ($n=0,\dots,44$) gives $45$ pairs with sum $1$, plus $\cos^245^\circ=\frac12$. So $\sum_{n=0}^{90}y_n=45\frac12$.
For $91\le n\le180$: $\cos^2(180-m)^\circ=\cos^2m^\circ$ with $m=0,\dots,89$, whose sum is $45\frac12-\cos^290^\circ=45\frac12$.
The total is $91$ over $181$ terms, so the mean is $\boxed{\frac{91}{181}}$.