You are using the new UI (Beta).Return to the original UI

This page has been automatically translated by machine translation. Please note that translations may not be entirely accurate.

keisanHigh-precision calculations for everyday life and work

The value of cosθ for the dot product of vectors.

Author: shiroeExecutions: 35

※ This library was created by a member. This site is not responsible for its content.

Manage Bookmarks
Calculates the value of the cosine (cos θ) of the dot product of vectors a and b.
a1 and a2 are elements of a. b1 and b2 are elements of b.
Let’s assume that subscripts 1 and 2 correspond to components x and y.

Output θ. (The absolute value of θ is not taken.)
The rest is for reference.
a1
(x-component)
a2
(y-component)
b1
(x-component)
b2
(y-component)
Inner product 
The norm of a 
The norm of b 
Product of Norms 
Value of cosθ 
θ (Radians)
The value of (θ/2π)*360   (Rounding down to the nearest whole number)
(Right-handed, Cartesian coordinate system. θ increases in the counterclockwise direction.)
Display setting: 6 digits. Digit count can be changed. Real number calculation mode.

No customer feedback for this calculation yet.