Unformatted text preview: 2. A vector can be represented by its rectangular coordinates x and y or by its polar coordinates r and Θ . The relationship between them is given by the equations: x = r * cos(Θ) y = r * sin(Θ) Assign the values for the polar coordinates to variables r and theta . Then, using these values, assign the corresponding rectangular coordinates to variables x and y . Save the program as polar.m...
View Full Document
This note was uploaded on 02/20/2012 for the course CSCE 155N taught by Professor Sandeep during the Spring '11 term at UNL.
- Spring '11