View the step-by-step solution to:

IntroductIon to Scientific Programming and Simulation using r 2009 by Taylor & Francis Group, LLC IntroductIon to Scientific Programming and

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.
INTRODUCTION TO Scientific Programming and Simulation Using R © 2009 by Taylor & Francis Group, LLC
Background image of page 001
Owen Jones, Robert Maillardet, and Andrew Robinson INTRODUCTION TO Scientific Programming and Simulation Using R © 2009 by Taylor & Francis Group, LLC
Background image of page 002
Show entire document

Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question