Talk:Horizontal sundial calculations: Difference between revisions

no edit summary
(What can we do?)
No edit summary
Line 13:
::: Arguably, the existing implementations satisfy the task requirement: enough information is given for a human to produce an accurate sundial. However, we are computer programmers and we know that that a computer consuming these results would do the wrong thing. Probably the task itself should be more specific about what is required. --[[User:Rdm|Rdm]] 18:49, 16 May 2011 (UTC)
::::I see you added a fix for J. What is the math behind this fix? In general, how do you avoid this problem? --[[User:Mwn3d|Mwn3d]] 18:51, 16 May 2011 (UTC)
 
:::::In essence, I use [[wp:Atan2|atan2]] with arguments X= cos (sun hour angle), Y= sin (sun hour angle)* sin (latitude). --[[User:Rdm|Rdm]] 19:15, 16 May 2011 (UTC)
6,951

edits