PHP Geographicals Makeover Primer Tutorial

PHP Geographicals Makeover Primer Tutorial

PHP Geographicals Makeover Primer Tutorial

A couple of days ago, when we added PHP Earth Rotational Speed Primer Tutorial as shown below, to our blogroll mix, it got us relooking at our Geographicals Suite of Web Applications at this blog that use this live run interface.

Perhaps you remember the last member of the Geographicals Suite we added, the PHP/Javascript/HTML Coriolis Effect Calculation Tutorial?

We found that, this time around, we wanted to …

  • rework how the weather information is gleaned … we now use a Google Search of a place name + ” weather”
  • get rid of a PHP warning regarding “header has already been sent” … a bug
  • make the interface look a bit better with some CSS for ul->li styling involving emojis a lot like talked about at WordPress Bullet Point CSS Styling Emoji Tutorial and the oft-used CSS H1 CSS Embossed Text Primer Tutorial
  • make the Google Maps “saddr=” and “daddr=” type calls work for mobile platform scenarios

Below is the list of changed parts of the suite …

It is often good to revisit software and see what can be improved with fresh eyes.


Previous relevant PHP Earth Rotational Speed Primer Tutorial is shown below.

PHP Earth Rotational Speed Primer Tutorial

PHP Earth Rotational Speed Primer Tutorial

We discovered a way to calculate the Earth’s rotational speed for a given latitude. When you see how fast we’re moving relative to somebody still in space you’ll be amazed and think gravity is pretty cool. Even if you’re standing on your head right now, you’d have to agree with me that “ytivarg” is not such a bad concept also … “can tell you it saved my bacon back in ’66 when that boar from yonder ridge fell on me when I was stuck practising them thar cartwheely thingos, and got stuck not the right way up … if youse knows what ah mean” … but we digress.

The Earth is like a ball with a rod through it coming out at the North and South poles, and if you can imagine this, then you can probably imagine that the rotational speeds are the biggest near the Equator and get a lot smaller near the Poles.

Still and all, at pretty big latitudes like for Archangel, in Russia, the rotational speeds get up with what we were taught was the speed of a Jumbo jet … back in the day. As for Singapore … wow … take a look at our tutorial picture or try a live run for yourself, and this is our PHP source code you could call rotational_speed_at.php

Ahhhh … the “where” of life … so interesting?!

Believe it or not, the equation to calculate this we found in “New Century Maths 9 (second edition) Stages 5.2/5.3″ so thanks. It goes like …


Earth Rotational Speed (in km/h) = ( 2 x Π x 6371 x cos(latitude) ) / 24

… where 6371 will do as radius of Earth in kilometres and 24 is the number of hours in an Earth day and latitude (for most functionalities such as Javascript’s Maths.cos() function) should be expressed in radians (where 1 degree = ( 1 x Π ) / 180 radians), and Π is, well, Π

If this was interesting you may be interested in this too.


If this was interesting you may be interested in this too.

This entry was posted in eLearning, Software, Tutorials and tagged , , , , , , . Bookmark the permalink.

9 Responses to PHP Geographicals Makeover Primer Tutorial

  1. simon says:

    very good helped us

  2. Exceptional post nonetheless , I was wanting to know in the event you could write a litte more on this topic? I’d be very thankful if you could elaborate a little bit much more. Thanks!

  3. Finance says:

    hi!,I really like your writing so so much! proportion we keep in touch extra about your post on AOL? I require a specialist on this space to resolve my problem. Maybe that’s you! Having a look forward to see you.

  4. Spot up for this write-up, I seriously feel this excellent webpage desires additional consideration. I’ll far more most likely when extra to see a lot extra, thanks for that data.

  5. Hello.This post was really remarkable, particularly because I was searching for thoughts on this issue last Tuesday.

  6. Thank you for the auspicious writeup. It in reality was a amusement account it. Appear complicated to far delivered agreeable from you! Nevertheless, how can we keep in touch?

  7. I truly enjoy reading on this internet site, it holds wonderful articles .

  8. I’m glad to be a visitant of this complete weblog ! , thankyou for this rare information ! .

  9. My spouse and i got so joyous Edward could carry out his investigation via the entire suggestions he came across even though utilizing the weblog. It really is now and once again perplexing to just always be giving for no cost techniques which generally other people may possibly have been selling. We really remember we’ve got you to appreciate for this. The main explanations you’ve made, the effortless website navigation, the relationships your site aid to create – it is got mostly amazing, and it truly is aiding our son in addition to the family feel that this problem is exciting, which is undoubtedly very fundamental. Thank you for all the pieces!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>