HomeAviationTravelPhotosMinistryResourcesBlogFunFilesXtraFilesResumeEmailTemp
Andy Borgmann's Blog
Where The Producer Gets the Mic
Nobody Tell Our Math Teachers...
When Am I Ever Going to Need to Know This Math?I had the greatest middle school math teacher. His name was Mr. Panning. He was a great teacher. He was a great cross country coach. And especially at that point in my life - he was a great role model.

I remember sitting in Geometry my 8th grade year and numerous times hearing students (*cough* myself) saying, "when the heck am I going to need to know this in the real world."

More on that later...

We decided at last week's creative strategy meeting that one thing we wanted to do with the website was to "localize" it to the market we are in. So, for example, if someone from Tucson visits the website, the design reflects the fact we are on KQTH in Tucson. Or if in Fort Wayne, it reflects WOWO. You get the idea.

Pretty unique, huh? Problem is: this is not an easy thing to do.

First, one has to find all 41,700 zip codes and assign a latitude/longitude to each one of them into a database scheme.

Second, one has to then figure out what zipcodes are associated with which radio station (for example WSB in Atlanta has 646 zip codes it reaches). This is not particularly easy due to the fact that every station has a different "reach" even within their own city.

Third, and this is the toughest part, one has to be able to know where you, the web visitor is coming from. The idea is that from your IP address we extract your zipcode (not always reliable). From the zipcode, we extract a lat/lon coordinate.

Fourth, once one has the users lat/lon coordinate then one has to reverse search to find the nearest associated radio market (if there is one).

Crazy I know. But what does this have to do with math?

Taking someone's lat/lon coordinates and figuring out what zipcode that coordinates to (and therefore what radio market) incorporates some crazy math. Mainly using the Great Circle Formula to determine proximity:

Earth Radius (3963.0) * ACOS( SIN( Latitude of User * π/180 ) *
SIN( Latitude of Market Zip Code * π/180 ) +
COS( Latitude of User * π/180 ) *
COS( Latitude of Market Zip Codes * π/180 ) *
COS( (Longitude of Market Zip Code * π/180) -
(Longitude of User * π/180) ) )

Take that formula, incorporate with a MySQL database schema, sort by distance from nearest to furthest, limit your results to 1 (the nearest) and bam! You've figured out figured out the radio market a web visitor is in.

I guess my punk-8th grade self has his answer 12 years later.

There was a lot I learned back then I never knew how I would use.

I think about the only web programming class I have ever taken was in 7th grade. And the only video editing class I ever took was in 8th grade. The only design class I took was Sophomore year of high school. All while I thought I was going to be a doctor or an attorney.

On top of that, my last math class was pre-calculus my Junior year of high school.

10 years later, and with out a single college class in any of those fields, I find those classes were a great foundation.

What do you think you are learning today that you will utilize 10 years down the road?

I know as I get older I have become less teachable. We become "experts." We think we know what we need to know and ignore the rest. But like 8th graders in math class, just because we can't foresee what we need down the road, it never hurts to learn new things.

As my Uncle once told me, "you are either learning or you are dying." It's your choice.

What's Andy Up To?
Andy Borgmann - TwitterAdd Notre Dame, Alabama, Georgia Tech, Georgia, Denver Broncos, Indianapolis Colts, and Pittsburgh Steelers to the iPhone calender: check!
Andy Borgmann - Twitter"Ice Is Back With A Brand New Invention... Ok Just A YouTube Video" - http://is.gd/eRLS0 - I am back on the blog baby! More to come.
Andy Borgmann - TwitterI opened up my to-do list pad and what did I find? Drawings by Jadyn. It made me smile. Thanks Jadyn I needed that http://twitpic.com/2ka5uo
Andy Borgmann - TwitterLet it be known: the first official act of my 2022 IN Senate campaign was today when Lisa Blosser officially changed her name to Borgmann.
Andy Borgmann - Twitter@and_elf Greedy Capitalist :)
Andy Borgmann - TwitterForgot my phone at home today: saved by GMail phone - love that feature of GMail. Another reason that @EricaKJustice should drop hotmail.
Andy Borgmann - TwitterJust bought 2 things I have never bought ever. Advil and rubbing alcohol. If my ear is still there in the morning it may be time 2 see a Dr
Andy Borgmann - TwitterI find this to be a fascinating read of the human condition: http://is.gd/eM26J - even though it sad, I agree the findings are accurate
Andy Borgmann - TwitterHot damn the Broncos are playing the Steelers on Fox. Change final destination from home to Jenny's. Her Steelers are going down!
Andy Borgmann - TwitterLeaving the Fort. You guys are the best. Thank you so much!

Description
Andy's blog aims to be like a Scrubs episode, mixed with a Chuck Klosterman column, centered around the topic of faith. It is open, honest, raw, and a little embarrassing. It is a place to discuss religion, politics, ministry, pop culture, and well, just life - especially focused on the time of life we call our 20s!

Andy is the Executive Producer of The Allen Hunt Show; a progressive (in the literal sense), talk radio show based in Atlanta, GA aimed at bringing faith back into the public discussion. Andy enjoys travel, aviation, web design, politics, friends, and faith. He holds that the secret to a full life is loving God and loving people - which he fails at constantly.

Andy grew up in Fort Wayne, IN. He now lives in Alpharetta, GA.

More information about Andy can be found at www.2timothy42.org or Andy's Facebook.

P.S. As has been mentioned on air, Andy is horrible at grammar and spelling. Please excuse any mistakes, trust me, he's sorry.



Email Subscribe

Powered by FeedBurner


Calendar
<<    <    Jan 2009    >    >>
Sun Mon Tue Wed Thu Fri Sat
    1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
2009-01-31 00:00:00
2009-01-31 23:59:59
31