Let n be the partial sum of
fi, assume that m > n and look at d∞(
m-
n) = max { |fn+1(x) + ... + fm(x)| for x ∈ [a, b]} ≤ max {|fn+1(x)| + ... + |fm(x)| } ≤ Mn+1+ ... + Mm.
Since the series Mi converges, its partial sums form a Cauchy sequence and so Mn+1+ ... + Mm is small for large m, n. Thus (
n) is a Cauchy sequence in C[a, b] and since this is a complete space under d∞ the sequence is convergent to its pointwise limit and this limit is continuous.
Since |sin2(x)| ≤ 1, we may take Mn= 1/n2 and so by the Weierstrass M-test, the series sin2(x)/n2 is uniformly convergent to a continuous function.
Deciding exactly where this function is differentiable is much harder.
Similarly, since |cos(anx)| ≤ 1, if 0 < b < 1 we may take Mn= 1/bn and use the fact that Mn is convergent to deduce that Weierstrass's function is continuous.
Proving that this function is not differentiable anywhere is the hard bit!