I've been told that the homework was assigned out of the suggested textbook instead of the mandatory textbook. I am trying to track down the confusion about which book is which, but in the meantime, the homework problems are:

1. problem Section 2.3, exercise 2.3 (a,b) on page 79, Given the vector y = [0, -0.2, 0.4, -0.6, 0.8, -1.0, -1.2, -1.4, 1.6]; write the matlab commands to:

problem Section 2.5, exercise 2.12 on page 81, The transformation from spherical to cartesian coordinates (or from latitude/longitude to 3D position) is:

2. Given a point with latitude phi, longitude theta, on a sphere of radius b, the cartesian coordinates are:

x = b sin(phi) cos(theta)
y = b sin(phi) sin(theta)
z = b cos(phi)
Turn in a script that performs these tasks for both problems in class.