3c3
< // Coriolis Force on Earth at Latitude calculation from RJM Programming
---
> // Sun Angle (now) at? calculation from RJM Programming
6,8c6,10
< // http://www.msrc.sunysb.edu/~chang/atm205/Notes/Chapter_8_txtb.pdf
< // http://www.somas.stonybrook.edu/~chang/atm205/HWsolutions/Homework_7_sol.htm
< // http://homepage.ntu.edu.tw/~suizx/course/HS6053_9301/ch1.pdf
---
> // http://www.google.com.au/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CC8QFjAA&url=http%3A%2F%2Fgeoalliance.asu.edu%2Fazga_site%2Fsites%2Fdefault%2Ffiles%2FLessonFiles%2FDorn%2FPulse%2FDornPulse.ppt&ei=QTGRUuiXEcGtiAfwlIGICw&usg=AFQjCNEYL6f1yBLg5hdC5qgYnnfWS00nOg&sig2=2kQ25M8OoDltE6baNCRlnQ&bvm=bv.56988011,d.aGc
> // http://en.wikipedia.org/wiki/Talk%3ASubsolar_point
> // curl http://www.timeanddate.com/worldclock/sunearth.html
>
> //
Position of the Sun
On Saturday, 23 November 2013 at 22:58:00 UTC the Sun is at its zenith at these coordinates:
| Latitude: | 20° 31' | South |
| Longitude: | 168° 08' | West |
137c139
< echo '
Coriolis Force on Earth at Latitude and Longitude via RJM Programming';
---
> echo 'Noon Sun Angle on Earth Today at Latitude and Longitude via RJM Programming';
140c142
< echo "\n .groundnsky { ";
---
> echo "\n .skyandground { ";
233c235
< mya.innerHTML = "Calculate Coriolis Force For";
---
> mya.innerHTML = "Calculate Noon Sun Angle Today For";
299,307d300
<
< var cfactor = 0.0;
< var dirc = " deflection from → West to → East for each ms-1 of Southerly ↑ wind";
< if (latis < 0) {
< dirc = " deflection to ← West from ← East for each ms-1 of Southerly ↑ wind";
< }
< cfactor = 0.0001458 * eval(Math.sin(latis * Math.PI / 180.0));
< //alert(cfactor);
<
354c347
< omyh2.innerHTML = '---->
---->
---->
';
---
> omyh2.innerHTML = '---->
---->
---->
';
357c350
< omyh2.innerHTML = '---->
---->
---->
';
---
> omyh2.innerHTML = '---->
---->
---->
';
358a352
>
360d353
< var tis=document.getElementById("todayis");
363,370c356
< echo "\n" . ' mya.innerHTML = "Earth Coriolis Force for ' . $_GET['place'] . ' in ' . $_GET['country'] . ' represents a " + Math.abs(cfactor.toPrecision(3)).toExponential() + " ms-2 " + dirc; ';
< } else if (isset($_POST['place'])) {
< echo "\n" . ' mya.innerHTML = "Earth Coriolis Force for ' . $_POST['place'] . ' in ' . $_POST['country'] . ' represents a " + Math.abs(cfactor.toPrecision(3)).toExponential() + " ms-2 " + dirc; ';
< } else {
< echo "\n" . ' mya.innerHTML = "Earth Coriolis Force for Latitude,Longitude below represents a " + Math.abs(cfactor.toPrecision(3)).toExponential() + " ms-2 " + dirc; ';
< }
< if (isset($_GET['place'])) {
< echo "\n" . ' myb.innerHTML = "Earth Noon Sun Angle on ' . substr($todayis,0,(strlen($todayis) - 15)) . ' for ' . $_GET['place'] . ' in ' . $_GET['country'] . ' is " + xourang + " degrees"; ';
---
> echo "\n" . ' mya.innerHTML = "Earth Noon Sun Angle Today for ' . $_GET['place'] . ' in ' . $_GET['country'] . ' is " + xourang + " degrees"; ';
372c358
< echo "\n" . ' myb.innerHTML = "Earth Noon Sun Angle on ' . substr($todayis,0,(strlen($todayis) - 15)) . ' for ' . $_POST['place'] . ' in ' . $_POST['country'] . ' is " + xourang + " degrees"; ';
---
> echo "\n" . ' mya.innerHTML = "Earth Noon Sun Angle Today for ' . $_POST['place'] . ' in ' . $_POST['country'] . ' is " + xourang + " degrees"; ';
374c360
< echo "\n" . ' myb.innerHTML = "Earth Noon Sun Angle on ' . substr($todayis,0,(strlen($todayis) - 15)) . ' for Latitude,Longitude below is " + xourang + " degrees"; ';
---
> echo "\n" . ' mya.innerHTML = "Earth Noon Sun Angle Today for Latitude,Longitude below is " + xourang + " degrees"; ';
376d361
< echo "\n" . " tis.style.display = 'none'; ";
395c380
< Another Coriolis Force calculation?
---
> Another noon sun angle calculation?
400c385
<
---
>