Greenwood press



Download 1,81 Mb.
Pdf ko'rish
bet13/159
Sana10.09.2021
Hajmi1,81 Mb.
#170449
1   ...   9   10   11   12   13   14   15   16   ...   159
Bog'liq
book-20600

10
CARTESIAN COORDINATES
An image map uses coordinates 
to define a rectangular “hot spot” 
by noting the opposite corner 
coordinates in an image map.


with dimensions of 28 pixels by 35 pixels that will link to a new page if the cur-
sor is clicked at a location on the image map between 12 and 40 pixels and
between 35 and 70 pixels. If the cursor is not in this region, then it will not link
to that page. Notice that the coordinate system on the image map is defined dif-
ferently from the standard rectangular system. Since only positive values are
used, this coordinate system uses the opposite of the negative y-coordinates that
are represented in the fourth quadrant of a Cartesian coordinate system.
Desirable locations for fire stations are places where trucks would have equal
access to the entire town. Ideally, they should be situated so that the longest drive
to the edge of town is the same in all directions. A coordinate grid could be super-
imposed on a city map, assigning coordinates to each of the intersections. The 
distance formula, 
d =
(x
1
− x
2
)
2
+ (y
1
− y
2
)
2
, could then be used to deter-
mine relative distances, 
d, of each street based on the coordinates of its end-
points,
(x
1
, y
1
) and (x
2
, y
2
), so that the best possible intersection for the fire sta-
tion could be selected.
On a world map, cities and landmarks are assigned a position according to
how far away they are from the equator (0°latitude) and from the prime merid-
ian in Greenwich, England (0° longitude). For example, Chicago is near 41° N 
87° W, which means that it is 
41
90
in the northern hemisphere and 
87
180
in the west-
ern hemisphere. 
A flight from Chicago to Los Angeles would angle the plane 7° south of west
and expect to travel 31° westward on its journey, because Los Angeles is near the
position 34° N 118° W. The distance 
d traveled between any two cities on the
globe can be determined by the equation 
d = 3963 arccos[sin(latitude
1
) sin(latitude
2
) +
cos(latitude
1
) cos(latitude
2
) cos(longitude
2
− longitude
1
)],
where the position in a spherical coordinate system of two cities are 
(lati-
tude
1
, longitude
1
) and (latitude
2
, longitude
2
) in radians. There are 2π radi-
ans in 360°, so each coordinate should be multiplied by 

360
to convert to radi-
ans. In this case, the Chicago coordinate would convert from (41,87) to approx-
imately (0.7156,1.5184), and the Los Angeles coordinate would convert from

Download 1,81 Mb.

Do'stlaringiz bilan baham:
1   ...   9   10   11   12   13   14   15   16   ...   159




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish