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

Multiply a 2-dimensional vector by a rotation matrix.

Author: shiroeExecutions: 80

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

Manage Bookmarks
We will perform the calculation of multiplying a two-dimensional vector by a rotation matrix.
Let A and B be two-dimensional vectors.
R is a 2×2 square matrix and a rotation matrix.
We will calculate B = R * A.
Enter two elements of A.
Enter θ in radians.
Let the elements of A be a1 and a2.
Let the elements of B be b1 and b2.
The elements of R are:
R11 = cosθ R12 = -sinθ
R21 = sinθ R22 = cosθ

(The numbers to the right of R indicate row and column numbers.)
Enter the value of θ in radians.
Enter θ as a real number in the range from 0 to 2π.

Calculate B and output the element values.
The rest is for reference only.
a1
  (Elements of a column vector)
a2
  (Elements of a column vector)
θ
  (Radian system)
b1 
b2 
Values used for θ 
Reference: Value of cosθ 
Reference: Value of sinθ 
Reference: Values of tanθ 
(θ/2π)*360  (Rounded down to the nearest whole number)
Digit display setting: 50 digits. Digit count can be changed. Complex number calculation mode.

No customer feedback for this calculation yet.