(1)已知sina+sinB=(根号2)/2,cos a+cosB=1/2.求cos(a-B)的值.