Chapter 3. Basic Programming

section 3.9 exercises

Page 44. Exercise 5 and 6

To rotate a vector (x, y)T anticlockwise by θ radians, you premultiply it by the matrix.

cos(θ) −sin(θ)

sin(θ) cos(θ)

Write a program in R that does this for you.

Exercise 6 continues in page 45.

Thank you.

section 3.9 exercises

Page 44. Exercise 5 and 6

To rotate a vector (x, y)T anticlockwise by θ radians, you premultiply it by the matrix.

cos(θ) −sin(θ)

sin(θ) cos(θ)

Write a program in R that does this for you.

Exercise 6 continues in page 45.

Thank you.

### Recently Asked Questions

- Tests scores on a general ability exam given to candidates for a police academy are normally distributed with a standard deviation of 20. What is the minimum

- You are a member of the Hepatitis Unit of the Centers for Disease Control and Prevention in Atlanta, Georgia. The year is 1968. On May 15 th , a request to

- I need some help figuring this answer out. How large of a sample do we need to collect to calculate the true mean coffee consumption within .1 of a cup with