hello.. anyone knows how to calculate muslim prayer times using picbasicpro.. the problem is to calculate muslim prayer times, complex formulae needed like :
(R-L) T
Z = 12+ ----- + --- ........1
15 60
1 {sin(-0.8333-0.0347(H)^0.5)}-sinD.sinB
U= -- arccos -------------------------------------- ........2
15 cosD.cosB
1 -sinG-sinD.sinB
V= -- arccos --------------- ........3
15 cosD.cosB
1 sin{arccot(1+tan(B-D)}-sinD.sinB
W= -- arccos -------------------------------- ........4
15 cosD.cosB
1 sin{arccot(2+tan(B-D)}-sinD.sinB
X= -- arccos -------------------------------- ........5
15 cosD.cosB
where
B= latitude of place
L= longitude of place
R= reference longitude (i.e. TIME BAND x 15)
H= height above sea level in metres
D= declination angle of sun from celestial equator (-ve in southern hemisphere)
T= equation of time
G= twilight angle
Fajr = Z-V
Sunrise = Z-U
Zuhr = Z
Asr1 (Shafi) = Z+W
Asr2 (Hanafi) = Z+X
Maghrib/Sunset = Z+U
Isha = Z+V
such formulas above are very complex to implement in picbasicpro.. any help to implement in pbp those formulas will be very appreciated..
Bookmarks