Well...the third line has a small error. You used h=xp/12, whereas it is actually h=bp/12 ... Didn't check any farther.