In vector diagram shown in fig. R is the resultant of vectors A and B. If R = B√2, the value of angle θ is