Wikisage, de vrije encyclopedie van de tweede generatie, is digitaal erfgoed

Wikisage is op 1 na de grootste internet-encyclopedie in het Nederlands. Iedereen kan de hier verzamelde kennis gratis gebruiken, zonder storende advertenties. De Koninklijke Bibliotheek van Nederland heeft Wikisage in 2018 aangemerkt als digitaal erfgoed.

  • Wilt u meehelpen om Wikisage te laten groeien? Maak dan een account aan. U bent van harte welkom. Zie: Portaal:Gebruikers.
  • Bent u blij met Wikisage, of wilt u juist meer? Dan stellen we een bescheiden donatie om de kosten te bestrijden zeer op prijs. Zie: Portaal:Donaties.
rel=nofollow

Sjabloon:Zonsondergang: verschil tussen versies

Uit Wikisage
Naar navigatie springen Naar zoeken springen
(+)
(—{{LOCALTIMESTAMP}})
 
Regel 50: Regel 50:
  t = N + ((18 - lngHour) / 24)
  t = N + ((18 - lngHour) / 24)


t = {{#expr: {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24) }}
t = {{#expr: {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24) }}




Regel 57: Regel 57:
M = (0.9856 * t) - 3.289
M = (0.9856 * t) - 3.289


M = {{#expr: (0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289 }}
M = {{#expr: (0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289 }}


4. calculate the Sun's true longitude
4. calculate the Sun's true longitude
Regel 64: Regel 64:
NOTE: L potentially needs to be adjusted into the range [0,360) by adding/subtracting 360
NOTE: L potentially needs to be adjusted into the range [0,360) by adding/subtracting 360


L = {{#expr: ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634  }}
L = {{#expr: ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634  }}




Regel 76: Regel 76:
RA = {{#expr: atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|
RA = {{#expr: atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|


{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)) }}
{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)) }}


5b. right ascension value needs to be in the same quadrant as L
5b. right ascension value needs to be in the same quadrant as L
Regel 84: Regel 84:
RA = RA + (Lquadrant - RAquadrant)
RA = RA + (Lquadrant - RAquadrant)


Lquadrant  = {{#expr: (floor((((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)/90)) * 90 }}
Lquadrant  = {{#expr: (floor((((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)/90)) * 90 }}


RAquadrant = {{#expr: (floor((atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)))/90)) * 90 }}
RAquadrant = {{#expr: (floor((atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)))/90)) * 90 }}


RA = {{#expr: (atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634))) + (((floor((atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)))/90)) * 90) - ((floor((atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)))/90)) * 90)) }}
RA = {{#expr: (atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634))) + (((floor((atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)))/90)) * 90) - ((floor((atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)))/90)) * 90)) }}


5c. right ascension value needs to be converted into hours
5c. right ascension value needs to be converted into hours
Regel 94: Regel 94:
RA = RA / 15
RA = RA / 15


RA = {{#expr: ((atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634))) + (((floor((atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)))/90)) * 90) - ((floor((atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)))/90)) * 90)))/15 }}
RA = {{#expr: ((atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634))) + (((floor((atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)))/90)) * 90) - ((floor((atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)))/90)) * 90)))/15 }}


6. calculate the Sun's declination
6. calculate the Sun's declination
Regel 101: Regel 101:
cosDec = cos(asin(sinDec))
cosDec = cos(asin(sinDec))


sinDec = {{#expr: 0.39782 * sin(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634) }}
sinDec = {{#expr: 0.39782 * sin(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634) }}


cosDec = {{#expr: cos(asin(0.39782 * sin(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634))) }}
cosDec = {{#expr: cos(asin(0.39782 * sin(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634))) }}


7a. calculate the Sun's local hour angle
7a. calculate the Sun's local hour angle
Regel 116: Regel 116:
cosH = (cos({{{zenith|96}}}) - (sinDec * sin({{{latitude|31.779167}}}))) / (cosDec * cos({{{latitude|31.779167}}}))  
cosH = (cos({{{zenith|96}}}) - (sinDec * sin({{{latitude|31.779167}}}))) / (cosDec * cos({{{latitude|31.779167}}}))  


cosH = {{#expr: (cos({{{zenith|96}}}) - ((0.39782 * sin(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634))* sin({{{latitude|31.779167}}}))) / ((cos(asin(0.39782 * sin(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)))) * cos({{{latitude|31.779167}}})) }}
cosH = {{#expr: (cos({{{zenith|96}}}) - ((0.39782 * sin(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634))* sin({{{latitude|31.779167}}}))) / ((cos(asin(0.39782 * sin(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)))) * cos({{{latitude|31.779167}}})) }}


7b. finish calculating H and convert into hours
7b. finish calculating H and convert into hours
Regel 127: Regel 127:
H = H / 15
H = H / 15


H = {{#expr: (acos( (cos({{{zenith|96}}}) - ((0.39782 * sin(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634))* sin({{{latitude|31.779167}}}))) / ((cos(asin(0.39782 * sin(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)))) * cos({{{latitude|31.779167}}})) ))/15 }}
H = {{#expr: (acos( (cos({{{zenith|96}}}) - ((0.39782 * sin(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634))* sin({{{latitude|31.779167}}}))) / ((cos(asin(0.39782 * sin(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)))) * cos({{{latitude|31.779167}}})) ))/15 }}




Regel 138: Regel 138:




T = {{#expr: ((acos( (cos({{{zenith|96}}}) - ((0.39782 * sin(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634))* sin({{{latitude|31.779167}}}))) / ((cos(asin(0.39782 * sin(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)))) * cos({{{latitude|31.779167}}})) ))/15) + (((atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634))) + (((floor((atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)))/90)) * 90) - ((floor((atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)))/90)) * 90)))/15) - (0.06571 * ({{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:d|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24))) - 6.622 }}
T = {{#expr: ((acos( (cos({{{zenith|96}}}) - ((0.39782 * sin(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634))* sin({{{latitude|31.779167}}}))) / ((cos(asin(0.39782 * sin(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)))) * cos({{{latitude|31.779167}}})) ))/15) + (((atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634))) + (((floor((atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)))/90)) * 90) - ((floor((atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)))/90)) * 90)))/15) - (0.06571 * ({{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:d}}}}}}}+1 + ((18 - (35.223611 / 15)) /24))) - 6.622 }}


9. adjust back to UTC
9. adjust back to UTC
Regel 148: Regel 148:


--->
--->
{{#expr: abs((((acos( (cos({{{zenith|96}}}) - ((0.39782 * sin(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634))* sin({{{latitude|31.779167}}}))) / ((cos(asin(0.39782 * sin(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)))) * cos({{{latitude|31.779167}}})) ))/15) + (((atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634))) + (((floor((atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)))/90)) * 90) - ((floor((atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:n|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)))/90)) * 90)))/15) - (0.06571 * ({{Dag van het jaar|{{{1|{{#time:Y|{{LOCALTIMESTAMP}}}}}}}|{{{2|{{#time:n|{{LOCALTIMESTAMP}}}}}}}|{{{3|{{#time:d|{{LOCALTIMESTAMP}}}}}}}}}+1 + ((18 - (35.223611 / 15)) /24))) - 6.622) - ({{{longitude|35.223611}}} /15) +2)}}
{{#expr: abs((((acos( (cos({{{zenith|96}}}) - ((0.39782 * sin(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634))* sin({{{latitude|31.779167}}}))) / ((cos(asin(0.39782 * sin(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)))) * cos({{{latitude|31.779167}}})) ))/15) + (((atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634))) + (((floor((atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)))/90)) * 90) - ((floor((atan(0.91764 * tan(((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289) + (1.916 * sin((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289)) + (0.020 * sin(2 * ((0.9856 * {{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:n}}}}}}}+1 + ((18 - (35.223611 / 15)) /24)) - 3.289))) + 282.634)))/90)) * 90)))/15) - (0.06571 * ({{Dag van het jaar|{{{1|{{#time:Y}}}}}|{{{2|{{#time:n}}}}}|{{{3|{{#time:d}}}}}}}+1 + ((18 - (35.223611 / 15)) /24))) - 6.622) - ({{{longitude|35.223611}}} /15))}}


<!---
<!---

Huidige versie van 15 jul 2012 om 10:33

30.818431590408