In [1]:
import numpy as np

a_1 = np.array([2,3])
a_2 = np.array([2,3])
a_1.dot(a_2)


Out[1]:
13

In [5]:
np.true_divide(13,(np.sqrt(13) * np.sqrt(13)))


Out[5]:
1.0000000000000002

In [3]:
np.true_divide(22,(np.sqrt(13) * np.sqrt(41)))


Out[3]:
0.95292578001326211

In [6]:
np.true_divide(8,(np.sqrt(13) * np.sqrt(5)))


Out[6]:
0.99227787671366774

In [7]:
np.true_divide(3,(np.sqrt(35) * np.sqrt(21)))


Out[7]:
0.11065666703449763

In [8]:
np.sqrt(13) * np.sqrt(41) * 0.95


Out[8]:
21.932453123168866