The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
(42S) Sun Approximate Declination, Altitude, and Azimuth
07-07-2017, 04:56 AM
Post: #1
(42S) Sun Approximate Declination, Altitude, and Azimuth
Original Post: http://edspi31415.blogspot.com/2013/06/h...-pond.html

Input: Days after the vernal equinox (typically March 21), Earth’s latitude (north/south), number of hours after local noon (example: for 7 AM, enter -5. For 7 PM, enter 7).
Code:

00 { 147-Byte Prgm }
01 LBL “SUNAA”
02 DEG
03 “DAYS AFTER EQ.”
04 PROMPT
05 STO 00
06 “LATTITUDE”
07 PROMPT
08 STO 01
09 “HRS AFTER NOON”
10 PROMPT
11 STO 02
12 0.9856
13 RCL* 00
14 SIN
15 23.45
16 *
17 STO 04
18 COS
19 RCL 01
20 COS
21 *
22 15
23 RCL* 02
24 COS
25 *
26 RCL 01
27 SIN
28 RCL 04
29 SIN
30 *
31 +
32 ASIN
33 STO 05
34 SIN
35 RCL 01
36 SIN
37 *
38 RCL 04
39 SIN
40 –
41 RCL 05
42 COS
43 RCL 01
44 COS
45 *
46 ÷ 
47 ACOS
48 STO 06
49 RCL 04
50 “DECLINATION”
51 AVIEW
52 STOP
53 RCL 05
54 “ALTITUDE”
55 AVIEW
56 STOP
57 RCL 06
58 “AZIMUTH”
59 AVIEW
60 END


Example:

Input: 100 days after the vernal equinox, 43.72° N, about 12 noon (T = 0)
Results: Declination ≈ 23.1888°, Altitude: 69.4688°, Azimuth: 0.0002°
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(42S) Sun Approximate Declination, Altitude, and Azimuth - Eddie W. Shore - 07-07-2017 04:56 AM



User(s) browsing this thread: 1 Guest(s)