Escolar Documentos
Profissional Documentos
Cultura Documentos
Fig. 1. Definition of qibla.
The problem of qibla involves spherical trigonometry, since it
considers the angles between the shortest lines on a sphere. The qibla
direction can be determined using more than one method such as; direct
solar observation and shadow method. However, basic spherical
trigonometric formula
[2, 3]
seems to be accurate enough for calculating
the qibla direction.
Figure 1 shows a spherical triangle PXM, where
203 Applications of Satellites to Geodesy
E : Equatorial plane
P : North pole
M : Makkah
: Qibla
M
: Longitude of Makkah
M
: Latitude of Makkah
and
, 0 5 39 = +
o
M
, 5 2 21 = +
o
M
, 90 = XP
, 90 =
M
PM
. =
M
XPM
Consider a place X on the Earth's surface whose longitude and
latitude , respectively, then the qibla direction is given by:
.
) ( ) ( ) ( ) (
) (
=
1
M M
M
cos sin tan cos
sin
tan (1)
In the above equation, the quadrant where the angle is located
should be taken into account.
Geodesic Distance
Consider two places
1
X and
2
X on the Earth's surface. Let
1
and
1
be the longitude and latitude of
1
X , respectively. Let
2
and
2
be
the longitude and latitude of
2
X , respectively. If we suppose that
1
X and
2
X are at sea level. Then the geodesic distance can be obtained using a
high accuracy formula, by Andoyer
[4]
, which considers the Earth's
flattening:
[ ], ) ( ) ( ) ( ) ( 1 =
2 2
2
2 2
1
C sin B cos fA C cos B sin fA D + (2)
204
Hassan M. Asiri
where
), ( =
2 1 2
1
+ B
), ( =
2 1 2
1
C
), ( =
2 1 2
1
), ( ) ( ) ( ) ( =
2 2 2 2
B cos sin cos C sin F +
), ( ) ( ) ( ) ( =
2 2 2 2
B sin sin cos C cos G +
), / ( =
1
G F tan H
, / = H FG J
, 2 = aH D
, 1)/2 (3 =
1
G J A
, 1)/2 (3 =
2
F J A +
, )/ ( = a b a f
and a (6,378.1 km) is the Earths equatorial radius, b (6,356.8 km) is
the polar radius and f is the Earth's flattening.
Example
Calculate the qibla direction and geodesic distance to Makkah, for
the capital of Saudi Arabia, Riyadh.
The longitudes and latitudes of Makkah and Riyadh, as stated in
[5]
,
are:
, 0 5 39 = +
o
M
, 5 2 21 = +
o
M
, 7 4 46 = +
o
R
, 1 4 24 = +
o
R
Using Mathematica and applying equations (1) and (2), we get:
205 Applications of Satellites to Geodesy
.398, 244 =
o
. km 798.682 =
Summary
We have established a database which contains longitude, latitude,
qibla direction and geodesic distance to Makkah for more than seven
thousand places in Saudi Arabia. In this paper, we only present a sample
of this huge database for some main cities, see Table 1.
In Fig. 2, we illustrate the longitudes and latitudes of more than
seven thousand places in Saudi Arabia. Figures 3 and 4 show contour
plots for qibla direction and geodesic distance. Three-dimensional plots
of qibla direction and geodesic distance as functions of longitudes and
latitudes are illustrated in Fig. 5 and 6.
Table. Qibla direction and geodesic distance to Makkah for some main cities.
City
798.682 km
244
o
.336 24
o
1 4 46
o
7 4
Riyadh
1181.590 km
243
o
.990 26
o
6 2
50
o
5 0
Dammam
066.062 km
096
o
.337 21
o
9 2
39
o
2 1
Jeddah
452.207 km
322
o
.177 18
o
3 1
42
o
1 3
Abha
518.336 km
188
o
.206 26
o
3 0
40
o
3 3
Bahah
1066.470 km
186
o
.603 30
o
9 5
41
o
1 0
Arar
947.989 km
182
o
.399 29
o
8 5
40
o
3 1
Sakakah
336.547 km
176
o
.486 24
o
7 2
39
o
8 3
Medina
688.168 km
218
o
.409 26
o
0 2
43
o
8 5
Buraydah
206
Hassan M. Asiri
701.634 km
195
o
.960 27
o
1 3
41
o
2 4
Ha'il
575.824 km
330
o
.832 16
o
4 5
42
o
3 3
Jizan
628.371 km
314
o
.037 17
o
2 3
44
o
2 1
Najran
842.204 km
156
o
.085 28
o
4 2 36
o
2 3
Tabuk
Fig. 2. Longitudes and latitudes of more than seven thousand places.
207 Applications of Satellites to Geodesy
Fig. 3. A contour plot for the qibla direction.
Fig. 4. : A contour plot for the geodesic distance to Makkah.
208
Hassan M. Asiri
Fig. 5. Qibla direction for more than seven thousand places.
209 Applications of Satellites to Geodesy
Fig. 6. Geodesic distance to Makkah for more than seven thousand places.
Acknowledgement
The author would like to thank King Abdulaziz University, Jeddah, Saudi
Arabia, for funding this work under the project number: 3-H004/430.
References
[1] Niyazi, Adnan. World Guide to Qibla. Al-Khurayji, Riyadh, 1999.
[2] Bagvi, Malik. Determination of the Direction of Qibla and the Islamic Timings. Ashraful-
Madaris, Karachi, 1970.
[3] Ilyas, Mohammad. A Modern Guide to Astronomical Calculations of Islamic Calendar,
Times & Qibla. Berita, Kuala Lumpur, 1984.
[4] Meeus, Jean. Astronomical Algorithms, 2nd ed. Willmann-Bell, Richmond Va, 1999.
[5] Ministry of Higher Education. Atlas of Saudi Arabia. Ministry of Higher Education, Riyadh, 1999.
210
Hassan M. Asiri
.',,=. .,.,= , .'.',,\ - ,='.=\' _'=.'
_=> ,== .=>=
-,=11' ,1=1' ,.= ,1=1' -,1= _,_=1',= =1=1' -=='=
= -,=.1' -,,_=1' -=1==1'
hasiri@kau.edu.sa
:
='_='' _= -,. .'.',, __, ='_='' .,.=.' _=''='' .'=.''
-,=_.' _>'' -== _'= _ .=,'' '.= , ._. .'.',, -=' _. =_==
. __='' _.'_._ ._='' -,,_='' ->'=='' _ _'>= .' -=,= _= _.>
-,._=='' .,= _=_. '' -'==''_ -','' '=.. .'.',, .=' -,=,._,=
->= _'' -=_>='' ..' _>'=.' ..=.=. . -,__>'' .'.'.='' .' _=
-,=,._,='' .','==''