Question
We need to write a python 3.x script that compares the given coordinate (Z) to the set of coordinates in the table as x=longitude &
We need to write a python 3.x script that compares the given coordinate (Z) to the set of coordinates in the table as x=longitude & y= latitudes.
Z=(-87.627806, 41.882022) = (degrees.minutes) z is used for start direction (heading)
using a python3.x conditional statement calculates the direction (Northeast, Northwest, Southwest, and Southeast) the 10 coordinate places are with respect to x=longitude & y= latitudes.
example of the results a table as shown below
z is Southwest from '(-87.827907,41.790547 )'
z is Northwest from '(-87.551782, 41.739416)'
hope this is clear Thanks
X Y -87.551492 41.739421 41.878469 -87.629316 -87.644346 -87.827907 -87.652075 -87.650987 -87.691375 -87.551393 -87.582946 -87.627088 41.926743 41.989725 41.885159 41.879235 41.921025 41.737561 41.790547 41.853923Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started