For any two vectors \( \mathbf{A} \) and \( \mathbf{B} \) if \( \mathbf{A} \cdot \mathbf{B} = |\mathbf{A}| |\mathbf{B}| \cos \theta \), the magnitude of \( (\mathbf{A} + \mathbf{B}) \) is (given \( \tan \theta = 1 \), \( \cos \theta = \frac{1}{\sqrt{2}} \))