Coordinate Transforms Example: Calculating Distances between Two Cities

An example of calculating the positions of cities in cartesian and spherical coordinates.

Boston is located at latitude 42° 21' 30" N  and longitude -71°,-3',-37" W  (The following use of CityData will not work unless you have an active internet connection)

"index_30.gif"

"index_31.gif"

"index_32.gif"

"index_33.gif"

"index_34.gif"

"index_35.gif"

Introduce a function that finds the spherical coordinates of a

"index_36.gif"

"index_37.gif"

"index_38.gif"

"index_39.gif"

"index_40.gif"

"index_41.gif"

"index_42.gif"

"index_43.gif"

"index_44.gif"

"index_45.gif"

Minimum travel distance between Boston and Paris for a round earth

"index_46.gif"

"index_47.gif"

"index_48.gif"

"index_49.gif"

"index_50.gif"


Created by Wolfram Mathematica 6.0  (21 September 2007) Valid XHTML 1.1!