# NOT RUN {
#Calculate the latitude of Los Angeles given a starting point in Manhattan and the distance
#and bearing to Los Angeles.
Lat<-CalcLatitude (40.7697,3938000,-1.507516)
#transform to degrees
Lat*360/(2*pi)
# }
Run the code above in your browser using DataLab