Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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.853923

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

1. Diagnose and solve a transfer of training problem.

Answered: 1 week ago