In this case, an elementary calculation shows that the MAP estimate isθ = n H /10, where n H is the number of heads in w (likewise, n T is the number of tails).
p (t|w,θ) favors t = 1 for any sequence that does not contain exactly five heads, and assigns equal probability to t = 1 and t = 0 for any sequence that does contain exactly five heads -a counterintuitive result.