<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-26871899</id><updated>2011-12-11T08:34:16.643-05:00</updated><category term='Life Experiments'/><category term='Humor'/><category term='Ubuntu'/><category term='Math Related'/><category term='Life Events'/><category term='News/Article Clips'/><category term='Programming Related'/><title type='text'>Beauty</title><subtitle type='html'>"In mathematics you don't understand things. You just get used to them." - Johann von Neumann</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default?start-index=101&amp;max-results=100'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>170</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-26871899.post-4362381179538232307</id><published>2010-08-22T19:01:00.002-04:00</published><updated>2010-08-22T19:02:09.389-04:00</updated><title type='text'>Orientation</title><content type='html'>Tomorrow I have orientation.  Needless to say, but I am stoked!  Yes, it's a short post, but oh so sweet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-4362381179538232307?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/4362381179538232307/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=4362381179538232307' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/4362381179538232307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/4362381179538232307'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2010/08/orientation.html' title='Orientation'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-2494171104889671042</id><published>2010-07-15T00:41:00.003-04:00</published><updated>2010-07-15T01:02:05.869-04:00</updated><title type='text'>Message for the Fellas'</title><content type='html'>Not my own work but I think the message is very clear and one that isn't shared often enough.  I don't know who originally said/wrote those words, I just got them from the caption on a friend's picture.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;i&gt;&lt;span style="font-size:170%;"&gt;"&lt;/span&gt;You may not be her first, her last, or her only.  She loved before she may love again.  But if she loves you now, what else matters?  She's not perfect- you aren't either, and the two of you may never be perfect together but if she can make you laugh, cause you to think twice, and admit to being human and making mistakes, hold onto her and give her the most you can.  She may not be thinking about you every second of the day, but she will give you a part of her that she knows you can break- her heart.  So don't hurt her, don't changer her, don't analyze and don't expect more than she can give.  Smile when she makes you happy, let her know when she makes you mad, and miss here when she's not there.&lt;/i&gt; "&lt;br /&gt;&lt;br /&gt;- &lt;del&gt;Unknown&lt;/del&gt; Bob Marley&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;b&gt;EDIT:&lt;/b&gt;&lt;/span&gt; I shared this with another friend and they have informed me that this comes from Bob Marley.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-2494171104889671042?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/2494171104889671042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=2494171104889671042' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/2494171104889671042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/2494171104889671042'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2010/07/message-for-fellas.html' title='Message for the Fellas&apos;'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-7946136784183561374</id><published>2010-07-09T23:18:00.002-04:00</published><updated>2010-07-09T23:22:31.057-04:00</updated><title type='text'>The Miami Heat</title><content type='html'>Well as could be expected there was a lot of fall out when LeBron James said that he would be joining Chrish Bosh and Dwayne Wade in Miami next year.  Personally I feel that Chicago would have been the better choice, but either way LA is still going to win it all.&lt;br /&gt;&lt;br /&gt;But here is a funny comment that my sister shared with me;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style="font-style: italic;"&gt;"in the lebron backlash, my favorite new nickname for lebron, dwade, and  bosh from a comment on espn:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;5. The Nazgul&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;The Nazgul were  the characters in Lord of the Rings that were former kings who turned  into demons that were constantly chasing the ring. It completely  consumed them and robbed them of their humanity.... I think this sums up  the situation in Miami."&lt;/span&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-7946136784183561374?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/7946136784183561374/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=7946136784183561374' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/7946136784183561374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/7946136784183561374'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2010/07/miami-heat.html' title='The Miami Heat'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-3893566950088990383</id><published>2010-06-12T21:09:00.001-04:00</published><updated>2010-06-12T21:10:47.121-04:00</updated><title type='text'>Probability Blog</title><content type='html'>I now have a blog that I will be devoting to all things probability.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://probability101.wordpress.com"&gt;http://probability101.wordpress.com&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-3893566950088990383?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/3893566950088990383/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=3893566950088990383' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/3893566950088990383'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/3893566950088990383'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2010/06/probability-blog.html' title='Probability Blog'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-3778167152637814921</id><published>2010-05-15T10:51:00.003-04:00</published><updated>2010-05-15T11:13:58.645-04:00</updated><title type='text'>Winning</title><content type='html'>Am I the only one that was disappointed by the way the Cleveland Cavalires played the last 90seconds of the 2010 Eastern Conference Semifinals?  They were down by less than 10 and instead of fouling and trying to make it a game (which is what you would expect to see from ANY TEAM in that situation), they just stood around and let the Celtics run out the clock.&lt;br /&gt;&lt;br /&gt;Sure I was rooting for the Celtics to win, but watching the Cavalires give up like that was just pathetic.  Here is a quote that they should take to heart, &lt;blockquote&gt;&lt;span style="font-style: italic;"&gt;"Winning isn't everything, but the desire to win is."&lt;/span&gt;&lt;/blockquote&gt;Clearly they didn't have this desire, and it showed in those closing seconds.  Did they think that because they had the best regular season record and the NBA MVP that all they had to do was show up in order to win?&lt;br /&gt;&lt;br /&gt;On the topic of winning, here is a quote from Vince Lombardi, &lt;blockquote&gt;&lt;span style="font-style: italic;"&gt;"If winning isn't everything, why do they keep score?"&lt;/span&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-3778167152637814921?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/3778167152637814921/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=3778167152637814921' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/3778167152637814921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/3778167152637814921'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2010/05/winning.html' title='Winning'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-7276193500750349272</id><published>2010-05-07T11:53:00.003-04:00</published><updated>2010-05-07T12:06:17.894-04:00</updated><title type='text'>Formspring</title><content type='html'>If you haven't heard of it then read this &lt;a href="http://www.nytimes.com/2010/05/06/us/06formspring.html?ref=technology"&gt;article&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;One thing I noticed was that some parents/adults were surprised at the kind of sexual content that teenagers made public.  I'm not going to take a side and say whether this is a good or bad thing but I will say this.  I remember being a teenager, and the kind of things that appear on Formspring are pretty "mild" compared to what is discussed in person.  Also the topic of bullying is brought up in the article.  Yes, this can be a real problem, but then you have to remember that they probably experience much worse in real life.&lt;br /&gt;&lt;br /&gt;If you are a parent you should take the time to talk to your teenager about these thing and how they should deal with them.  Additionally, make sure to let them know that they can come to you with any issues they have.  And if they don't feel comfortable talking to you about it make sure that they know that there are other adults that they can talk to if it is more comfortable for them.&lt;br /&gt;&lt;br /&gt;Take this chance to be parents and provide your kids with the tools and knowledge that they will need to get through life. Because as you know, there are things in life are much more difficult than being bullied in middle school or feeling sexually awkward.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-7276193500750349272?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/7276193500750349272/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=7276193500750349272' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/7276193500750349272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/7276193500750349272'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2010/05/formspring.html' title='Formspring'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-7933216462402955078</id><published>2010-04-24T20:30:00.003-04:00</published><updated>2010-04-24T20:33:41.980-04:00</updated><title type='text'>Money</title><content type='html'>Sorry to break the Graduate School Series, but I just had to share this quote from one of my processors.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style="font-style: italic;"&gt;"Money can either buy you freedom or chains."&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;Basically it was his way of saying, live within your means, to all of us graduating seniors.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-7933216462402955078?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/7933216462402955078/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=7933216462402955078' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/7933216462402955078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/7933216462402955078'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2010/04/money.html' title='Money'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-8163507576473410682</id><published>2010-04-18T17:14:00.012-04:00</published><updated>2010-04-24T01:50:16.918-04:00</updated><title type='text'>The Graduate School Series: Part 2</title><content type='html'>This is the second part in a series about applying to (mathematics) graduate school.  You can follow this link to &lt;a href="http://risky-math.blogspot.com/2010/04/graduate-school-series-part-1.html"&gt;part 1&lt;/a&gt; if you would like to start reading from the beginning.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:180%;" &gt;The Application&lt;/span&gt;&lt;br /&gt;You can be certain that every school you apply to will ask for a transcript and at least the General GRE.  Some schools however, will require you to take the subject test, which is no joke.  How many of you remember everything from your multivariable class?  Or all the little tricks to go along with it.  Then for the more advanced topics covered on the test you might not have taken a class.  However, these are few such questions and they are usually pretty simple (take that with a very very large grain of salt).&lt;br /&gt;My advice would be to not overlook the standardized test, since they are part of your application and do matter to some extent.&lt;br /&gt;One last thing, don't forget that most schools will have some sort of application fee, so you should set aside some money to cover this.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;Personal Statement:&lt;/span&gt;&lt;br /&gt;Remember when you were applying to your undergraduate program how they made you write those essays on the most annoying topics?  Well I have some good and bad news for you.  The bad news is that you still have to write an essay.  However, the good news is that the topic is actually relevant.&lt;br /&gt;Since the word essay is such an undergraduate term, it is now called the personal statement.  When you think about it, this is in fact a much better term to describe what you are being asked to write.  In your personal statement you are asked to discuss why you wish to pursue a graduate degree in mathematics.  So this generally involves talking about why you got interested in math, what you did as an undergrad. and then what you wish to accomplish after grad. school.  Also if at all possible you would mention why you wish to attend the school to which this personal statement will be sent.&lt;br /&gt;It should go without saying that you will want to write many versions of you personal statement.  There should be no spelling or grammar errors, you have at least 2 months to work on it, so any errors reflect poorly upon you (especially if you misspell a faculty member's name).  You should also try to have as many people read your statement as possible, and provide you with actual criticism.  The worst that can happen is that they find a mistake or suggest a way to improve your statement.&lt;br /&gt;By this point you should understand that the personal statement is quite important.  And you most likely don't have any experience writing one.  I mean sure you have written papers for classes before, but how many of those would you be willing to rest you hopes of admission upon?  Well here is a site that can help point you in the &lt;a href="http://www.uni.edu/%7Egotera/gradapp/stmtpurpose.htm"&gt;right direction&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Recommendation Letters:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;I doubt that there is a single accredited program that won't ask for recommendation letters.  And if you manage to find one...then I suggest you take a much much closer look.&lt;br /&gt;Well this is your last year as an undergraduate, and you have hopefully talked to a faculty member or two (understatement) in you time. Well this is where it finally pays off (just kidding, having a relationship with past professors is always a good thing).&lt;br /&gt;Don't underestimate the importance of a strong recommendation.  Some admissions personnel say that this is the most important part of the application.  The opinion of one's peers can go a long way.  Suppose there are two students both who are almost identical in all other areas.  However, in one student's recommendation letters their profess says&lt;br /&gt;&lt;blockquote style="font-style: italic;"&gt;"This student is as talented as Gauss was at their age."&lt;/blockquote&gt;&lt;br /&gt;While the other student was only described as&lt;br /&gt;&lt;blockquote style="font-style: italic;"&gt;"A wonderful student with great potential."&lt;/blockquote&gt;Who do you think will be more likely to get acceptance letter?&lt;br /&gt;That being said, it is obvious that you should ask professors with whom you feel will be able to provide strong recommendation letters.  If you've made it to you last year and you can't think of any professor that meets this requirement, then you should really consider why you are even applying to graduate school.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:180%;" &gt;Additional Funding&lt;/span&gt;&lt;br /&gt;Wouldn't it be nice to have a little money for living expenses? This is where fellowships come into play.  The simplest (though incorrect) way to describe fellowships is that they are basically scholarships for graduate and post-graduate students.&lt;br /&gt;The process for applying for fellowships is more or less the same as that for applying to schools, well most of the time.  Therefore, I won't say anything about applying for them. But you will find &lt;a href="http://www.math.nyu.edu/degree/phd/financial.html"&gt;this site&lt;/a&gt;&lt;a href="http://www.math.nyu.edu/degree/phd/financial.html"&gt; provided by NYU&lt;/a&gt; useful in your fellowship search.  One thing that should be mentioned, in most cases fellowships are more competitive than schools, no disrespect to any school out there.&lt;br /&gt;&lt;br /&gt;Well that's it for part 2, stay tuned for part 3.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-8163507576473410682?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/8163507576473410682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=8163507576473410682' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8163507576473410682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8163507576473410682'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2010/04/graduate-school-series-part-2.html' title='The Graduate School Series: Part 2'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-302520033049742214</id><published>2010-04-18T00:18:00.010-04:00</published><updated>2010-04-24T01:49:49.938-04:00</updated><title type='text'>The Graduate School Series: Part 1</title><content type='html'>A few post back I said that I would document my experience with the whole graduate school application process.  Well now that I have a little free time (only have 1 final to study for this semester) now is as good a time as any to write it.&lt;br /&gt;&lt;br /&gt;Before starting I guess I should mention where I did and did not get into. Then I'll talk about the whole process, and a short part on what are some things to consider when you finally make your choice on which school to attend.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Rejected:&lt;/span&gt;&lt;br /&gt;Carnegie Mellon University&lt;br /&gt;Columbia University&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Accepted:&lt;/span&gt;&lt;br /&gt;Cornell University&lt;br /&gt;Duke University&lt;br /&gt;New York University (*)&lt;br /&gt;University of Florida&lt;br /&gt;University of Wisconsin-Madison&lt;br /&gt;&lt;span style="font-style: italic;"&gt;* accepted but without financial support&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;SELECTION&lt;/span&gt;&lt;br /&gt;The first thing you have to do is select which schools you would like to attend.  Talking to professor at your current (or most recent) institution is always helpful.  So talk to them about what schools are strong in your area of interest, and which they think you have an reasonable chance of getting into.  One way to group your schools is: dream schools, reasonable chance of getting in, and "safety".  Now keep in mind these terms are pretty vague, since all programs are competitive when it comes to offering admission to applicants.&lt;br /&gt;Now I am going to assume that you know what area(s) of mathematics you are most interested in, or even which area(s) you don't like.  I can't really comment on the process for selecting schools when you are unsure since I did not fall into that category.  Anyway, I suggest that you begin your research on potential schools during the spring semester of your junior year.  A great place to start is looking at the &lt;a href="http://grad-schools.usnews.rankingsandreviews.com/best-graduate-schools/top-science-schools"&gt;U.S. News rankings&lt;/a&gt;, also here is &lt;a href="http://www.arwu.org/index.jsp"&gt;another useful site&lt;/a&gt;, but keep in mind these should not be the end all say all.  Also talk to professors and see which schools have papers published in journals you enjoy.  Plus, you will be surprised at how many internet forums there are out there that discuss what schools are good in what areas.&lt;br /&gt;At this point you should try to get a list as big as possible, put a school on the list if there is the slightest bit of interest in their program.  For instance I had Washington University at St.Louis,  and University of Michigan on my original list, even though in the end I didn't apply to either school. Another thing to keep in mind is that while you are in graduate school your interest might change, so you should also take into consideration the schools activity in other areas. More on this in the portion about making a final selection.&lt;br /&gt;&lt;br /&gt;Then when you have some more "free time" in the summer you take more in depth looks at each of the schools on this large list.  You can even send out emails to faulty and current graduate students expressing your interest in their program and if they could provide you with any information that isn't available on the website.  That being said, you should throughly look through each website before asking questions about the program.  Otherwise you might ask a question who's answer is easy to find if you had put in any effort, and thus come off as appearing to be lazy, and who wants that for a first impression?&lt;br /&gt;Now either in the summer or the beginning of senior year you will shorten this list to contain only those schools to which you plan to apply.  The size of this new list will vary from person to person so not much can really be said.  Though I would suggest it contain more than one school.&lt;br /&gt;&lt;br /&gt;With your list in hand you are now ready to move onto &lt;a href="http://risky-math.blogspot.com/2010/04/graduate-school-series-part-2.html"&gt;part 2&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-302520033049742214?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/302520033049742214/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=302520033049742214' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/302520033049742214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/302520033049742214'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2010/04/graduate-school-series-part-1.html' title='The Graduate School Series: Part 1'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-4800652907980239282</id><published>2010-04-11T12:47:00.002-04:00</published><updated>2010-04-11T12:48:24.048-04:00</updated><title type='text'>Flash Mobs</title><content type='html'>Hey here is a great idea for a flash mod that would actually help this country.&lt;br /&gt;On election day everyone go to their local polling site and actually vote (if you legally able to).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-4800652907980239282?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/4800652907980239282/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=4800652907980239282' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/4800652907980239282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/4800652907980239282'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2010/04/flash-mobs.html' title='Flash Mobs'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-8803579880776112975</id><published>2010-04-10T00:23:00.003-04:00</published><updated>2010-04-10T00:26:29.184-04:00</updated><title type='text'>Decision Time</title><content type='html'>This should answer all questions.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://images.wikio.com/images/p/3aa1a/calendar-cornell-university-academic-2010-2011-cornell-academic-calendar-summer-2010.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 317px; height: 313px;" src="http://images.wikio.com/images/p/3aa1a/calendar-cornell-university-academic-2010-2011-cornell-academic-calendar-summer-2010.gif" alt="" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-8803579880776112975?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/8803579880776112975/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=8803579880776112975' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8803579880776112975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8803579880776112975'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2010/04/decision-time.html' title='Decision Time'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-7586703124778268439</id><published>2010-04-04T17:20:00.002-04:00</published><updated>2010-04-04T17:22:53.941-04:00</updated><title type='text'>Violin Tattoo</title><content type='html'>Now this could just be my inner violin player talking but this is the most beautiful tattoo I have ever seen.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://s4.hubimg.com/u/81359_f520.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 520px; height: 789px;" src="http://s4.hubimg.com/u/81359_f520.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;If I ever found a girl with this I would have to marry her right there and then.  Well maybe not, but it would definitely make me want to get to know her.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-7586703124778268439?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/7586703124778268439/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=7586703124778268439' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/7586703124778268439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/7586703124778268439'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2010/04/violin-tattoo.html' title='Violin Tattoo'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-8773370881161334555</id><published>2010-04-01T08:20:00.001-04:00</published><updated>2010-04-01T08:20:57.803-04:00</updated><title type='text'>Duke is Beauty</title><content type='html'>Went on another campus visit last weekend.  It was Duke University's turn this time around.  Unlike Cornell they had a weekend where they brought in all of the prospective graduate students.  I thought this was nice since you got a chance to mingle with your potential classmates as well as talk to the professors.&lt;br /&gt;&lt;br /&gt;I got into Durham around 2pm on Friday and was picked up at the airport by one of the graduate students.  I found it funny that she also said that you could easily find the math department on any campus by looking for the ugliest building.  I suppose this is just a well known fact.  However, the math building wasn't that "ugly", but that's probably because it is shared with the physics department as well.  Unlike the visit to Cornell, this time we were put in an hotel that was relatively close to campus (and the university hospital).  After we dropped our stuff off in our rooms there was time for us to sit in on one of the classes.  It was a modeling class and they were talking about certain kinds of optimization problems.  I was able to follow much of what was being said, though I wish I remembered more multivariable calculus.&lt;br /&gt;&lt;br /&gt;After the class it was tea time.  Apparently the graduate students and faculty have "tea" (really snacks) at 4pm each day.  This was nice since I got to meet some of the other graduate students as well a professor.  When tea time was over there was still a little time until dinner so we were taken back to the hotel to relax a little.  It was at this time that I discovered that I can't send text messages while I'm in North Carolina (and South Carolina as well) for no apparent reason.  I'm able to receive text messages and phone calls which is just weired.  So if I do end up choosing to attend Duke I will have to find a new cell provider.  Not sure if it's T-mobile or just my phone, everyone else had a different provider so not much help there.&lt;br /&gt;&lt;br /&gt;The most exciting part of the visit was meeting my "twin".  She was a University of Florida graduate and is currently doing research in probability.  Wait, things get even better.  So you remember the Denny's commercial about the "nannerpuss".  The banana octopus that attacks pancakes, well apparently I was the only person  (other than her friends she had told) that had ever seen this ad.  It also doesn't hurt that we are almost the same height and both drive Hondas.&lt;br /&gt;&lt;br /&gt;There was no shortage of food for the weekend.  It almost got to the point that just hearing the phrase "there is food in the [location] for you" made me vomit.  On Friday, the graduate students took us to a restaurant called Tyler's.  Originally we had planned to eat at the Mellow Mushroom but things didn't quite work out that way.  The food was alright, nothing special.  However, the atmosphere made the dinner unforgettable.  At this dinner I learned that 2 of the other students had received the same offer from NYU as me, admission without financial support.  Seeing as how none of us are super wealthy there is no way we can afford to pay for at least a year of a PhD program AND to live in NYC.&lt;br /&gt;After dinner we spent about 10min. outside in the cold deciding what to do next.  Some of us ended up going to a local bar to watch the Duke basketball game, while others called it a night and went back to the hotel.&lt;br /&gt;&lt;br /&gt;On Saturday some of the professors and graduate students gave talk  about their research.  The overall set up was pure mathematics talks before lunch and applied after.  Naturally, I was more interested in the applied talk, especially the ones concerning probability.  However, I found some of the pure talks nice.  I even learned a little topology by the end of it all.  There were a couple presentations on Mathematical Biology, and I must say that they made me wish that I had given that particular area a little more consideration earlier on in my undergraduate years.&lt;br /&gt;&lt;br /&gt;At this point you should be able to conclude that I enjoyed the visit.  This isn't going to make my decision any easier.  Well I will keep you 'posted' (what a nice pun, even if I do say so myself).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-8773370881161334555?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/8773370881161334555/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=8773370881161334555' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8773370881161334555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8773370881161334555'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2010/04/duke-is-beauty.html' title='Duke is Beauty'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-210842476055940196</id><published>2010-03-21T23:21:00.002-04:00</published><updated>2010-03-22T00:05:11.293-04:00</updated><title type='text'>Android</title><content type='html'>First things first: Big ups to Cornell's men's basket ball team for making it to the Sweet 16.  Hmmm now should I consider the quality of the basketball team in my graduate school decision (Duke or Cornell)? Let us see who goes further in the tournament. (I'm joking by the way)&lt;br /&gt;&lt;br /&gt;Just got back from the IEEE Southeast Convention.  Overall it was quite the experience.  I went as part of the school's Software team.  We expected the software competition to be structured more like the ACM ICPC since this is how it has been done the last...well always.  However, this year they decided to change the format.  This year teams would have to create simple Android applications in Eclipse.  Another aspect would be that there would be no time component involved in the scoring.&lt;br /&gt;Now, no one on our team had any experience writing Android applications, much less programs that needed GUI.  Also we didn't have much experience developing "actual software".  Our plan was to spend all of Friday learning all of this.  But as you know, sh*t happens.  Turns out the hotel internet was "overloaded" and thus insanely slow.  We spent all day downloading about 300MB+ of files at about 15kb/s.  Then there were all the installation problems we ran into since we were all using Ubuntu (thanks for the &lt;span style="font-style: italic;"&gt;great Linux support&lt;/span&gt; Google).&lt;br /&gt;When we did manage to have a working install of everything it was midnight, which meant that we had 7hours until the competition started.  Luckily we somehow managed to read somewhere that we would have to deal with XML documents, so we spent a little time learning about those while obtaining everything else.  For the 2hours after having a working environment we managed to create 2 simple applications.  One just printed "&lt;span style="font-style: italic;"&gt;hello android"&lt;/span&gt; to the screen while the other simulated a login screen.  Nothing too complicated but it gave us a little feel of how things were done.&lt;br /&gt;&lt;br /&gt;After we got some sleep (more like a nap to be honest) it was time for the competition.  Now, the competition started at 7am...and the hotel's breakfast service didn't start until 7am as well.  So you can imagine that none of the coders there were all to happy about that (in addition to them changing the competition set up).  We managed to solve 5 of the 12-13 problems, which I don't think was too bad considering how much time we had to learn Android.  The worst part of the competition was that we had to work on laptops which were running a virtual machine.  This virtual machine was from a central computer (not a very good one since everything was super slow. Like pre 1995 slow).&lt;br /&gt;My main problem with the competition was that they decided to inform us of the change a few days before hand.  Now if they had given us a month or so to prepare it would be a whole other story.  On the bright side, if I ever have some free time and feel like making an Android application I now have the tools.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-210842476055940196?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/210842476055940196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=210842476055940196' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/210842476055940196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/210842476055940196'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2010/03/android.html' title='Android'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-3599977020019017065</id><published>2010-03-13T18:15:00.003-05:00</published><updated>2010-03-13T18:39:00.540-05:00</updated><title type='text'>NPSC Fellowship</title><content type='html'>I meant to write this post earlier, and obviously that didn't happen.&lt;br /&gt;&lt;br /&gt;As you should know by now, I spent a good part of my fall semester working on applications for graduate school.  Well in addition to these applications I also spent time looking for and applying for external funding (which includes fellowships).  Just as there are almost too many graduate schools you can potentially apply to, there are more than enough fellowships out there to consider.  My bit of advice would be to become familiar with what is expected from you if you are chosen to be a fellow and end up accepting the offer.  Needless to say, but you should also know just what kind of support they will be offering.  Why waste your time on an application for an award that you know you would reject?&lt;br /&gt;Anyway, one of the fellowships that I ended up applying for, and ultimately accepted, was one offered by the National Physical Science Consortium (&lt;a href="http://www.npsc.org/students/info.html"&gt;NPSC&lt;/a&gt;).  For information on the fellowship just follow the previous link.  If you are too lazy I'll give you a brief overview; tuition covered,  living stipend provided, and obliged to spend two summers with a NPSC Industry/Lab member.  This list of might change from year to year so I can't say what your choices are.&lt;br /&gt;&lt;br /&gt;I suppose in a future post I will describe my experience with applying to graduate school and for fellowships.  I'll be sure to include what I wish I had done differently and what things I believed worked fairly well.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-3599977020019017065?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/3599977020019017065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=3599977020019017065' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/3599977020019017065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/3599977020019017065'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2010/03/npsc-fellowship.html' title='NPSC Fellowship'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-8450812661902571558</id><published>2010-03-10T08:20:00.009-05:00</published><updated>2010-03-13T01:21:08.948-05:00</updated><title type='text'>Ithaca is Gorges</title><content type='html'>Yes the joke is overused, but very true.  As you can guess I got back from visiting Cornell.&lt;br /&gt;&lt;br /&gt;My host was a first year student in the OR department.  She was really nice as well as knowledgeable.  One for the first things I mentioned to her was that I expected Ithaca to be a lot colder.  I could have gone the whole visit without my jacket (which was a hassle when dealing with airports/airplanes).  She was quick to inform me that I was lucky and had chosen one of the warmer days for my visit.  Just two weeks ago they had heavy snow fall, and I'm sure I would have died if I had to go through it.  Also I got lucky in the fact that most of the walking areas had the snow and ice cleared at the time.  My shoes had no traction what so ever; looking back I wish I had brought my Vans instead of the Adidas.  Sure there would have been no extra traction, but they would have gone better with my outfit and I wouldn't be bothered by the tongue (I really should buy a new pair or just cut them off).&lt;br /&gt;On the first night I got to meet some of my host's friends.  One was a first year graduate student in CAM (Center for Applied Mathematics), they met each other through one of their classes.  A plus in my book since it just shows that there is interaction between the ma&lt;br /&gt;&lt;br /&gt;The town itself is pretty small, so that will take some getting used to if I decided to go to Cornell.  In terms of size I feel that it is somewhere between Holland and Gainesville.  The only thing worse than being a small town is the hills.  To all you Floridians out there, you have no idea what a hill is.  Compared to the hills in Ithaca, Florida "hills" are just slightly inclined paths.  On the bright side though, I will get in shape...or die trying.  Needless to say riding a bicycle is totally out of the question.&lt;br /&gt;As I said in the first sentence (well the title really) the town is gorgeous.  Just think of all those Christmas cards or postcards  of small towns covered in snow with the sun either setting or rising.  Ithaca is much better than those.  For some reason while I was there I kept making connections to buildings I saw to those in the Harry Potter movies.  There was a portion of one building that reminded me of the Quidditch towers for spectators in the movie.  I guess this is a 'happier' comparison than my sister and I made between one of the towers at WashU and the one in &lt;a href="http://upload.wikimedia.org/wikipedia/en/8/8e/Mordor.jpg"&gt;Mordor&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The OR department was fantastic.  The building looked amazing, and you don't get the feeling of being trapped inside a lab.  Also it is kind of a big circle so it is pretty hard to get lost and easy to learn you way about (which is always good when you're on your own).  The faculty were all nice and easy to talk to, so no problems there.  The graduate students were just as easy to talk to and they all seemed to get along with each other.  They said that for the most part there isn't much competition (if any) amongst the first year students, because what is there to compete for really?  However, this does depend on the class.  On Sunday I had dinner with my host at a Korean restaurant, while I had lunch and dinner with the rest of graduate students on Monday.  It seemed as if every other restaurant was an Asian restaurant.  This actually isn't a problem since I LOVE Asian food, the more authentic the better actually.  However, I don't think I saw a Thai place, so I will have to continue my search.&lt;br /&gt;&lt;br /&gt;Overall it was a nice trip, and I think I could be happy in Ithaca even though it would take some getting used to.  Good news is that there is a bus that goes to NYC so if I ever really need to get out of town (and have the time to do so) I can always go there.&lt;br /&gt;Now I'm just waiting for my Duke visit.  I've been told that it is one of the most beautiful campuses I will ever see, but I think it will be pretty hard to beat Cornell.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-8450812661902571558?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/8450812661902571558/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=8450812661902571558' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8450812661902571558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8450812661902571558'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2010/03/ithaca-is-gorges.html' title='Ithaca is Gorges'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-1393732108926849029</id><published>2010-02-09T20:43:00.003-05:00</published><updated>2010-02-11T22:56:24.875-05:00</updated><title type='text'>Duke: Update</title><content type='html'>As you should be able to guess from the title of this post it will be about Duke.&lt;br /&gt;&lt;br /&gt;I GOT ACCEPTED!!!&lt;br /&gt;&lt;br /&gt;Not much of a post but it is news worth sharing.&lt;br /&gt;&lt;br /&gt;Update:&lt;br /&gt;&lt;br /&gt;I also got into Cornell.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-1393732108926849029?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/1393732108926849029/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=1393732108926849029' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/1393732108926849029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/1393732108926849029'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2010/02/duke-update.html' title='Duke: Update'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-8900332272938049966</id><published>2009-12-30T16:50:00.009-05:00</published><updated>2009-12-31T01:36:47.131-05:00</updated><title type='text'>Best of 2009</title><content type='html'>Well it is that time once again.  Just like &lt;a href="http://risky-math.blogspot.com/2009/01/best-of-2008.html"&gt;last year&lt;/a&gt;, I am going to provide you with a overview of what I have been listening to.  All of the information will be coming from Last.fm: even though this isn't 100% accurate in the number of plays it does seem to provide the correct ordering in each of the list to follow.  Similar to last year I will provide the names and play counts for the top artist, albums, and tracks (songs).  However, this year I will provide the top 15 instead of the top 10.&lt;br /&gt;&lt;br /&gt;Before I being I would like to say that this year I recently switched over from having Windows as my primary OS and am now using Ubuntu.  Thus it was a while (probably a week or two) before I noticed that I could use &lt;a href="http://amarok.kde.org/"&gt;Amarok&lt;/a&gt; to update my Last.fm listening trends.  In addition I have used &lt;a href="http://listen.grooveshark.com/#"&gt;Grooveshark&lt;/a&gt; quite a bit and this fact isn't portrayed in the data below.&lt;br /&gt;&lt;br /&gt;One last thing, in the traks section, each artist will only appear once.  However, if they have multiple songs that are in the top 15 I will let you know.  As a result this will cause me to list tracks that are not in the actual top 15.  Don't worry, I will indicate their actual position.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Artist:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;1: Portugal. The Man [664 plays]&lt;br /&gt;2: Lil' Wayne [540 plays]&lt;br /&gt;3: Nine Black Alps [409 plays]&lt;br /&gt;4: Kanye West [395 plays]&lt;br /&gt;5: The Hush Sound [360 plays]&lt;br /&gt;6: Fabolous [357 plays]&lt;br /&gt;7: Lupe Fiasco [341 plays]&lt;br /&gt;8: T.I. [258 plays]&lt;br /&gt;9: Muse [255 plays]&lt;br /&gt;10: Eminem [251 plays]&lt;br /&gt;11(t): Jay-Z [247 plays]&lt;br /&gt;11(t): Rise Against [247 plays]&lt;br /&gt;13: Ludacris [240 plays]&lt;br /&gt;14: This Providence [232 plays]&lt;br /&gt;15: Nada Surf [229 plays]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;Albums&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1: Waiter-"You Vultures!" by Portugal. The Man [398 plays]&lt;br /&gt;2: Everything Is  by Nine Black Alps [244 plays]&lt;br /&gt;3(t): Goodbye Blues by The Hush Sound [243 plays]&lt;br /&gt;3(t): The Sufferer and the Witness by Rise Against [243 plays]&lt;br /&gt;5: This Providence by This Providence [232 plays]&lt;br /&gt;6: Loso's Way by Fabolous [230 plays]&lt;br /&gt;7: Swan Songs by Hollywood Undead [208 plays]&lt;br /&gt;8: The Cool by Lupe Fiasco [189 plays]&lt;br /&gt;9: Love/Hate by Nine Black Alps [165 plays]&lt;br /&gt;10: The Satanic Satanist by Portugal. The Man [155 plays]&lt;br /&gt;11: Flying Colours by Bliss N' Eso [146 plays]&lt;br /&gt;12: The Carter III by Lil' Wayne [144 plays]&lt;br /&gt;13: Paper Trail by T.I. [142 plays]&lt;br /&gt;14: Used and Abused by Danger Radio [137 plays]&lt;br /&gt;15: Absolution by Muse [134 plays]&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Tracks (songs):&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;1: Headlights by Nine Black Alps [50 plays] (also in real top 15: Ironside)&lt;br /&gt;2: How the Leopard Got Its Spots by Portugal. The Man [44 plays] (also in real top 15: Gold Fronts, AKA M80 the Wolf, Stables and Chairs, House Warming Party, Kill Me. The King, Waiter, Marching With 6)&lt;br /&gt;3: The Good Left Undone by Rise Against [38 plays] (also in real top 15: Roadside)&lt;br /&gt;4: Always Strapped by Birdman ft. Lil' Wayne [34 plays]&lt;br /&gt;5: A Wolf in Sheep's Clothing by This Providence [31 plays]&lt;br /&gt;6: Plenty Money by Plies [30 plays]&lt;br /&gt;7(t): Imma Do It by Fabolous ft. Kobe [28 plays]&lt;br /&gt;7(t): The Diary by Hollywood Undeaad [28 plays]&lt;br /&gt;9: Uptown by Drake ft. Bun B. &amp;amp; Lil' Wayne [27 plays] (actual position: 18)&lt;br /&gt;10(t): Wasted by Gucci Mane [26 plays] (actual position: 22)&lt;br /&gt;10(t): As You Cry by The Hush Sound [26 plays] (actual position: 22)&lt;br /&gt;10(t): In Our Bedroom After the War by Stars [26 plays] (actual position: 22)&lt;br /&gt;13: All of the Above by Maine ft. T-Pain [24 plays] (actual position: 30)&lt;br /&gt;14: Imma Star (Everywhere we Are) by Jeremih [21 plays] (actual position: 40)&lt;br /&gt;14(t): See These Bones by Nada Surf [21 plays] (actual position: 40)&lt;br /&gt;&lt;br /&gt;Needless to say, but Portugal. The Man did this year what Lil' Wayne did in 2008...pwnd.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-8900332272938049966?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/8900332272938049966/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=8900332272938049966' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8900332272938049966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8900332272938049966'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/12/best-of-2009.html' title='Best of 2009'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-409640573002475268</id><published>2009-12-12T22:47:00.005-05:00</published><updated>2009-12-23T11:00:15.984-05:00</updated><title type='text'>Another Fall Semester Gone</title><content type='html'>So keeping to tradition I'll say a little bit about each of my classes this semester and then at the end mention what I hope from the next one.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(102, 204, 204);font-size:130%;" &gt;Data Structures and Algorithms: (A-)&lt;/span&gt;&lt;br /&gt;Quite possibly the worst presentation of the topic I have ever seen.  Basically the professor read from PowerPoint slides and had the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;TAs&lt;/span&gt; do all of the work.  The &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;TAs&lt;/span&gt;; wrote and graded the homework, wrote and graded the test and also had to respond to any questions the students had (even if they were intended for the professor).  Luckily I was part of the programming team so I already knew all of the material that would be covered in this class.&lt;br /&gt;The homework assignments weren't difficult at all but rather annoying.  Especially when they gave you defective code to use.  I would have &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_2"&gt;preferred&lt;/span&gt; if we have been told to solve a particular problem, and that a certain data structure/algorithm was necessary.  Instead they gave us a template to modify, and you didn't even have to know how to implement a Breath First &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_3"&gt;Search&lt;/span&gt; for instance.  All you had to know how to do was make a method call to the super class which you were extending.  It is quite disappointing.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-size:130%;" &gt;&lt;span style="font-weight: bold;"&gt;Topology 1: (A)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Well it doesn't help that about 3 weeks into the course we got a new professor (the original instructor had a stroke).  The new professor expected that we knew more than was previously covered and also in much more detail.  Needless to say, much of the semester was spent playing catch up.  Normally I am a fan of the Moore method (students present all the work/answer questions) but I don't feel that it is appropriate for an introductory course.  Especially one quite this abstract.  In the end I am ashamed to say that the only thing I took away from this course were the portions that had direct applications to analysis.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-size:130%;" &gt;&lt;span style="font-weight: bold;"&gt;Analysis: (A)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Not much to say, we started with a quick (1 day) review of basic things such as the monotone and dominated convergence theorems.  After this it was some pretty cool stuff about signed measures.  Which lead to the Lebesgue Differentiation Theorem and the Lebesgue-Radon-Nikodym Theorem.  At the end of the semester we started with some introductory Functional Analysis (kind of like infinite dimensional Linear Algebra) and talking about Banach spaces.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-size:130%;" &gt;&lt;span style="font-weight: bold;"&gt;Set Theory: (A)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;The class wasn't that difficult.  However, unlike most other easy classes I did like the way this was set up.  This is not to say that it didn't have its flaws.  This was another class that was taught with the Moore method.  The professor would post the problem sets on his websites and then the students chose which problems they wanted to present to the class.  The problems, at least the ones that didn't deal with the axiom of choice, weren't that difficult.  Mainly it was a class to get students used to providing rigorous proofs to generally accepted facts.  I will say however, that some of the results from this class I was able to use right away in some of my other classes, so that was nice.  My main problem with the class was the test.  All the questions came from the problem sets, so you really only needed to memorize the presented proofs and not actually understand the reasoning behind it.  I would much rather have preferred the questions to make us apply something we had seen before, but oh well.&lt;br /&gt;&lt;br /&gt;Overall I would say that this was a very successful semester.  I managed to get my grades, manage work, do some reading for my honors thesis (which I need to read a lot more for), apply to graduate schools, and see friends every now and then. I'm actually looking forward to next semester, even though it will be my last.&lt;br /&gt;At the moment I am currently signed up for 6 classes.  However, I will only be taking 4 (2 will be dropped during drop add), the only problem is that there are 5 that I would like to take and am not sure which to drop.  The choices are Theory of Measure and Integration 2, Operating Systems, Theory of Probability and Stochastic Processes 2, Partial Differential Equations, and Moder C++.  The problem is that I can't decide between PDE and C++, which I would rather take.  I can see both being useful, but one is going to be more work (C++) but it will be more enjoyable.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-409640573002475268?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/409640573002475268/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=409640573002475268' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/409640573002475268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/409640573002475268'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/12/another-fall-semester-gone.html' title='Another Fall Semester Gone'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-6435731575988920829</id><published>2009-12-11T04:32:00.003-05:00</published><updated>2009-12-11T04:39:59.931-05:00</updated><title type='text'>My Final Putnam Exam...2009 Edition</title><content type='html'>Well a few weeks ago I took my last Putnam exam.  And I can say with a smile on my face that not only did I perform just as well as last year, but I have even exceeded the expectations I held when first entering &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;UF&lt;/span&gt;.  Initially I expected that I would only be able to answer two questions on the whole exam by the time I graduated.  However, this year I answered (though probably not in enough detail for full credit) 4 question.  The amazing thing is that even of the questions that I didn't answer I was headed in the right direction for most of them.  For instance, one question asked you to find all possible values for some variable given some conditions.  Finding the upper bound was rather trivial, but the lower bound wasn't quite as obvious.  During the contest I found the correct lower bound, but didn't realize that I had arrived at it by evaluating a Riemann sum.  Oh well you win some you lose some.&lt;br /&gt;&lt;br /&gt;I'll post the problems and as much of a solution for each problem (if possible) on my other blog.  I would have done it here but sadly I don't have &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;LaTex&lt;/span&gt; enabled, so it would not only look ugly but also be a pain for me to &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_2"&gt;write&lt;/span&gt; (as well as you to read).&lt;br /&gt;&lt;br /&gt;One last thing, on the off chance that I haven't mentioned it earlier, I am applying to graduate schools.  At the moment the list consist of Columbia, Carnegie Mellon, Cornell, Duke, NYU, and Wisconsin-Madison.  All would be great places to attend, so fingers crossed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-6435731575988920829?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/6435731575988920829/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=6435731575988920829' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/6435731575988920829'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/6435731575988920829'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/12/my-final-putnam-exam2009-edition.html' title='My Final Putnam Exam...2009 Edition'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-4511597584405315645</id><published>2009-11-12T00:58:00.003-05:00</published><updated>2009-11-12T01:06:03.148-05:00</updated><title type='text'>Code Reuse</title><content type='html'>So here is a pretty useful trick/hack.&lt;br /&gt;Say you need to create a max-heap.  However, the code that you are forced to use will only create a min-heap.  What do you do?&lt;br /&gt;Well one solution is to just negate all the input entries, and then create a min-heap.  Then the most negative (or most positive depending on how you view things) will be at the top.&lt;br /&gt;&lt;br /&gt;I used this trick on my last Data Structures homework assignment.  The code that we were allowed to use would create a tree with the smallest element as the root.  But we needed to find the largest element.  Now I could have easily written my own code, but why should I when code has already been provided?  So all I had to do was negate the input and then copy the given code (though I did have to change a few inequalities around).  Overall it was a great feeling, like I was "beating the system".&lt;br /&gt;I prefer to look at this as being creative and not as being lazy.&lt;br /&gt;&lt;br /&gt;Sadly, I can't take all the credit for this method.  I had seen it before while reading a TopCoder tutorial on the C++ STL.  They were talking about how to implement Dijkstra's algorithm with a priority queue.  In C++ the priority queue container will always put the largest element at the top by default (though you can easily change this).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-4511597584405315645?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/4511597584405315645/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=4511597584405315645' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/4511597584405315645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/4511597584405315645'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/11/code-reuse.html' title='Code Reuse'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-6719745894408577495</id><published>2009-08-15T01:25:00.003-04:00</published><updated>2009-10-08T14:20:21.245-04:00</updated><title type='text'>Being In Control</title><content type='html'>So whenever I ask someone why they chose to drive a manual transmission instead of an automatic, the response usually sounds something like this. "Because I like the feel of being in control. It's like you, and not the car, are doing the actual driving."  Now the funny thing is that this is also the reply I get from some people when asked why they prefer Windows over Linux.  Well, they don't say driving, but rather talk about being in control of the computer.  Guess that being in control means accepting that there are things you can't control.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-6719745894408577495?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/6719745894408577495/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=6719745894408577495' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/6719745894408577495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/6719745894408577495'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/08/being-in-control.html' title='Being In Control'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-7219116310287232488</id><published>2009-08-10T22:25:00.002-04:00</published><updated>2009-08-10T22:32:10.384-04:00</updated><title type='text'>Super Freak</title><content type='html'>I was talking to Ashley yesterday.  The conversation was going pretty well.  She was talking about how she is enjoying her time in Chicago before going back to MIT.  Then somehow we got to talking about programming languages and physics.  Personally, I'm pretty surprised that she didn't complain about having to learn to program.  Back in high school she would avoid anything that involved using a computer, that wasn't looking stuff up on Google or Wikipedia. But I suppose you can only avoid it for so long while being at MIT.&lt;br /&gt;&lt;br /&gt;Well after talking to her, for some reason I started to really freak out about the whole graduate school application process.  I still have to write a draft of my personal statement, and take the Math GRE subject test.  I have gotten all As in my major classes, participated in a summer research program (paper under consideration for publication), and also plan to do a senior thesis.  All this on top of what I am sure will be strong recommendations.  Yet for some reason I am still worried.  I suppose that I am worried that this won't be good enough to get into the school(s) that I really want to attend.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-7219116310287232488?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/7219116310287232488/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=7219116310287232488' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/7219116310287232488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/7219116310287232488'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/08/super-freak.html' title='Super Freak'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-4289663692700299892</id><published>2009-08-07T21:57:00.003-04:00</published><updated>2009-08-07T22:09:52.109-04:00</updated><title type='text'>Correction</title><content type='html'>Well I fixed my algorithm and managed to solve the problem (see &lt;a href="http://risky-math.blogspot.com/2009/07/range-minimums-and-maximums.html"&gt;previous post&lt;/a&gt;).  Here is a general overview.&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Create array of cumulative sums&lt;/li&gt;&lt;li&gt;Create Segment tree&lt;/li&gt;&lt;li&gt;Answer queries using segment tree&lt;/li&gt;&lt;/ol&gt;Each node of the segment tree contained about the location of the max and min elements of the cumulative sum array, that was spanned by the interval.  For instance, the node that pertained to the interval [2,4] would contain information about the max and min elements of Sum[2...4], where Sum[] is the cumulative sum array.  Also other information might need to be stored in each node, but I'll leave that up to you to discover. Don't want to spoil all the fun now do I?&lt;br /&gt;&lt;br /&gt;Now I'm moving onto &lt;a href="http://spoj.pl/problems/GSS3"&gt;GSS3&lt;/a&gt;, which is more or less the same problem but with the ability to update sequence elements in addition to making queries.  At the moment I plan to use the same code but modify certain parts so they they use &lt;a href="http://www.topcoder.com/tc?module=Static&amp;amp;d1=tutorials&amp;amp;d2=binaryIndexedTrees"&gt;binary indexed trees&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Found this to be a pretty interesting problem.  Think I might try to implement a version for working with 2D arrays.  Really it's not too hard to extend to more dimensions but the code just gets longer though the thought process stays the same.  To me this is probably the major advantage of using segment trees over sparse arrays.  But I must admit that I am not all that comfortable with the sparse array method, so it might extend just as easily (though I don't see it).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-4289663692700299892?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/4289663692700299892/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=4289663692700299892' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/4289663692700299892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/4289663692700299892'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/08/correction.html' title='Correction'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-5241920856149970588</id><published>2009-07-29T19:27:00.009-04:00</published><updated>2009-08-04T20:04:19.806-04:00</updated><title type='text'>Range Minimums and Maximums</title><content type='html'>&lt;span style="font-weight: bold;font-size:180%;" &gt;&lt;span style="color: rgb(255, 0, 0);"&gt;WARNING!!!&lt;/span&gt; &lt;/span&gt; The following algorithm is incorrect!  For a counter example consider the set { 9 , -10 , -10 , 5 , 5 }.  It will say that the answer to &lt;span style="font-style: italic;"&gt;Q(1 , 5)&lt;/span&gt; is 9, but it is fact 10.  However, though it is incorrect it does provide you with a good place to start.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;At first I was going to talk about the SPOJ problem &lt;a aiotitle="ORDERS" href="http://www.spoj.pl/problems/ORDERS/"&gt;ORDERS&lt;/a&gt; in this post, but decided to put that off.  Mainly because I found something else more interesting in addition to the fact that I still haven't completely finished &lt;a href="http://www.spoj.pl/problems/ORDERS/"&gt;ORDERS&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;First off, here is a link to a &lt;a aiotitle="TopCoder tutorial on RMQ" href="http://www.topcoder.com/tc?module=Static&amp;amp;d1=tutorials&amp;amp;d2=lowestCommonAncestor"&gt;TopCoder tutorial on RMQ&lt;/a&gt; (range minimum query).  This post is by no meant a substitute for the tutorial.  I would recommend reading the tutorial after this post (only because you are already here) to see more on the topic.  Now the problem I will be discussing is &lt;a href="http://www.spoj.pl/problems/GSS1/"&gt;GSS1&lt;/a&gt;.  I would like to point out at this time that the solution I am going to give WILL NOT GET ACCEPTED!! It is far too slow, but should give you a good idea on where to start or proceed.&lt;br /&gt;&lt;br /&gt;So suppose we were naieve and decided to do all our preprocessing at the beginning and then ansewr each query in O(1).  Obvioulsy the first data structe we think of is an array.  So we will let Ans[i][j] be the answer to the query Q(&lt;span style="font-style: italic;"&gt;i,j&lt;/span&gt;).&lt;br /&gt;Now how does one go about creating this array? Well obviouly the answer to &lt;span style="font-style: italic;"&gt;Q(i,i)&lt;/span&gt; is the input[i], where input[] is the given array, so&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;Ans[i][i] = input[i].&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;Now suppose that we know the value of A[i][j] how would we find Ans[i][j+1]?  Well, there are three possibilities.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Ans[i][j+1] = Ans[i][j]&lt;/li&gt;&lt;li&gt;Ans[i][j+1] = input[j+1]&lt;/li&gt;&lt;li&gt;Ans[i][j+1] = Ans[i][j] + Sum(input, k+1, j+1)&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;In the above k is the index of the last element that is used to make A[i][j] (more on this in the example later on).  So using this we can build our array Ans[][] in O(n^2), which actually isn't that bad for small cases.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;EXAMPLE:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;input = { 1 , 2 , -2 , 4 , -1 , 1 }&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;So Ans[][] will be a 6x6 array.&lt;br /&gt;&lt;br /&gt;Ans[1][1] = 1 clearly. Now for Ans[1][2], we can either use Ans[1][1], only use input[2] or add to Ans[1][1].  So in this case we will want to add to Ans[1][1], thus giving Ans[1][2] = 3.  Note that k was 1 so Sum(input, k+1, j+1) = 2&lt;br /&gt;&lt;br /&gt;Now for Ans[1][3] we have the following cases;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Ans[1][3] = Ans[1][2] = 3&lt;/li&gt;&lt;li&gt;Ans[1][3] = input[3] = -2&lt;/li&gt;&lt;li&gt;Ans[1][3] = Ans[1][2] + Sum(input, 3, 3) = 3 - 2 = 1&lt;/li&gt;&lt;/ol&gt;So trivially we want Ans[1][3] = Ans[1][2] = 3.&lt;br /&gt;&lt;br /&gt;Just for good measure consider Ans[1][4];&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Ans[1][4] = Ans[1][3] = 3&lt;/li&gt;&lt;li&gt;Ans[1][4] = input[4] = 4&lt;/li&gt;&lt;li&gt;Ans[1][4] = Ans[1][3] + Sum(input, 3, 4) = 3 -2 + 4 = 5&lt;/li&gt;&lt;/ol&gt;Thus it is best to take all the elements in this case giving Ans[1][4] = 5.  And you continue this process.&lt;br /&gt;&lt;br /&gt;Well here is the C++ code that you have been waiting for (unless you like some other language). Once again I would like to say that this method WILL NOT WORK!! for the case on SPOJ. (note I assume that the first element of the array input[] is 0, just to make things easier to code)&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;pre&gt;&lt;br /&gt;Ans[n+1][n+1];&lt;br /&gt;memset(Ans,0,sizeof(Ans));//not needed but I just like to know what's in my arrays&lt;br /&gt;&lt;br /&gt;for( int i = 1; i!=(n+1); ++i)&lt;br /&gt;Ans[i][i]=input[i];&lt;br /&gt;&lt;br /&gt;for( int i = 1; i!=(n+1); ++i)&lt;br /&gt;for( int j = i+1; j!=(n+1); ++j)&lt;br /&gt;   Ans[i][j]=my_max(Ans[i][j-1],input[j],Ans[i][j]+Sum(input,k+1,j));&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I'll leave the implementation of my_max( ) and Sum( ) up to you, along with a way to keep track of k. Note that you will need to be "creative" when making Sum( ) so that the above stays O( n^2) and doesn't become O( n^3).&lt;br /&gt;&lt;br /&gt;In the link to the tutorial at the beginning of this post he describes other methods to solve this problem.  Some have much better performance.  The one I plan on using has preprocessing time O( n) and answers queries in O( log n).  Some of the other methods that he claims are easy to code (though I would disagree) have preprocessing time O( n) and answers queries in O( sqrt(n)) and preprocessing time O( n log n) and answers queries in O(1).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-5241920856149970588?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/5241920856149970588/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=5241920856149970588' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/5241920856149970588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/5241920856149970588'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/07/range-minimums-and-maximums.html' title='Range Minimums and Maximums'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-441307916832352398</id><published>2009-07-21T21:06:00.004-04:00</published><updated>2009-07-23T00:09:39.770-04:00</updated><title type='text'>DAGs and DP: aka one thing I'm good at and another that I'm not</title><content type='html'>So I haven't solved an SPOJ problem in a while.  Mainly because I've been doing other things.  Well today the drought is over.  I managed to solve &lt;a href="https://www.spoj.pl/problems/RENT/"&gt;RENT&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I'll just describe how I went about solving this one.  I should mention that the idea was not totally mine.  Anyway, I will assume that you have either read the problem or are familiar with it's statement.&lt;br /&gt;&lt;br /&gt;Well first off there is the obvious O(2^n) algorithm but obviously this is out of the question considering that the program has 3s to run and n can be as large as 10000. So the next thing to try is looking for a DP solution.  This is where DAGs (Directed Acyclic Graphs) come into play, though it might not be obvious.&lt;br /&gt;&lt;br /&gt;You construct the graph in the following way. There is an edge between vertex U and vertex V if there is an even starting at time U and ending at time V.  Also the weight of the edge is equal to the amount of money you will get for selecting that activity. At this point you execute the DP portion by using a variation of a DFS (So as to not spoil the problem completely I'll let you figure that part out yourself).  Just remember that you are looking to make the &lt;span style="font-style: italic;"&gt;MOST&lt;/span&gt; money in the alloted time.&lt;br /&gt;&lt;br /&gt;This method is O(E+V) once you have created your graph.  I think the way I created my graph is close to O(E). With a few optimizations the above will work (at least in C++), my solution finished in 1.71s so if you are using Java or another language that isn't particularly "fast" some additional tweaks (or a completely different algorithm) might be necessary.  I would like to mention that there are other methods to solve this problem but I didn't find them to be quite is intuitive or obvious.  Plus I like working with graphs, and thought that transforming this into a graph problem was rather interesting.&lt;br /&gt;&lt;br /&gt;EDIT:  Now I also want to edit my algorithm so that it will also tell you which events to select.  I don't see this being all that difficult, so I'll probably think about it later this week, and hopefully have an solution (an efficient one that is) by Sunday.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-441307916832352398?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/441307916832352398/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=441307916832352398' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/441307916832352398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/441307916832352398'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/07/dags-and-dp-aka-one-thing-im-good-at.html' title='DAGs and DP: aka one thing I&apos;m good at and another that I&apos;m not'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-5495707670625946440</id><published>2009-07-15T22:02:00.003-04:00</published><updated>2009-07-16T19:34:37.053-04:00</updated><title type='text'>New News</title><content type='html'>Not sure if I mentioned on here before, but I have a job for the summer.  Sure I'm glad to have a job but I really would rather be doing something that is more math or computer related.  And more computer related than using MSOffice.  This has further motivated me to become quant.  Also I'm preparing for the GRE, ideally I would like to take it before I start school again.  However, I am not sure I'll be able to learn all the vocab (random words and roots) by that time; as well as do lots of practice problems and test.  Then I get to take the math subject test in October, and again in November if needed.&lt;br /&gt;&lt;br /&gt;In some of the free time I have I've managed to start another &lt;a href="http://linuxtour.wordpress.com/"&gt;blog&lt;/a&gt;, start leaning regular expressions, learn Bash programming, read a few chapters from an algorithms book, and learn a little more about C++.  So not too bad if I don't say so myself, however none of these topics has really been explored to much depth.  Notice the lack of math on that list, it's pretty depressing.  I'm considering buying a book on Measure Theory (either with relation to probability or integration) and another on Stochastic Processes.&lt;br /&gt;&lt;br /&gt;Well that's all for now. Just though I'd drop by and give a brief update since I've been somewhat busy recently.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-5495707670625946440?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/5495707670625946440/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=5495707670625946440' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/5495707670625946440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/5495707670625946440'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/07/new-news.html' title='New News'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-1561971777314801581</id><published>2009-06-29T22:57:00.002-04:00</published><updated>2009-06-29T23:19:14.210-04:00</updated><title type='text'>Facebook Quizzes</title><content type='html'>For some reason these things are just so addicting, even though the results can be total BS at times.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Quiz : &lt;/span&gt;What is Your Secret Innermost Desire for Your Life...?&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Result:&lt;/span&gt; Sexual Stimulation&lt;br /&gt;Your subconscious mind is driven most by sexuality. What this means is that when your unconscious mind sees an opportunity to remind you of your sexual desires, it takes full advantage of it. Because of this, things that have very little sexual content or that seem sexually neutral to others, may register as sexually charged to you, at least on an unconscious level. Your unconscious mind recognizes the value of sexuality. The reason it may do so, is because of a deep-rooted fear of the opposite living a life that is numb to sexual desire or is turned cold by it. You unconscious mind may be trying to avoid this sexual dullness, and so it reacts by swinging to the opposite extreme, strong sexual desire. By sending you these sexual messages on a regular basis, your unconscious makes sure you don't forget about sex. Demure who can resist your seductive charm? You have mastered the art of flirting so well that all you have to do is sit there and look pretty and they come to you.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Quiz:&lt;/span&gt; How Dateable are You?&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Result:&lt;/span&gt; Completely Dateable&lt;br /&gt;You are the perfect gentleman/lady and you know everything anybody needs to know about dating and flirting&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Quiz:&lt;/span&gt; What are you Born to Do?&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Result:&lt;/span&gt;  Best at Everything&lt;br /&gt;you are the social person who make usefull contacts. you introduce important people to influencial people and always reap some sort of reward as a result...but you dont enjoy the spotlight as much. you prefer to stay in the back as there is more room to strech and you like the feeling that you are the one with the power and most of the time that is true... you will do well in almost anyfield you know how to flater without being to obivous and you can make just about anyone like you&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Quiz: &lt;/span&gt;Which Transformer are You?&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Result: &lt;/span&gt;Bumblebee&lt;br /&gt;Bumblebee is a cautious, yet brave warrior of the Autobots. He is the symbol of friendship with mankind because of his bond with his human; Sam Witwicky. His feelings are sometimes hurt very quickly if put down or harassed. He is loyal to Optimus Prime and Sam. His original vehicle form was a 1976 Chevy Camero, but upgrades it to a 2009 version. Motto: "The least likely can be the most dangerous."&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-1561971777314801581?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/1561971777314801581/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=1561971777314801581' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/1561971777314801581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/1561971777314801581'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/06/facebook-quizzes.html' title='Facebook Quizzes'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-6587141551585979980</id><published>2009-06-28T17:59:00.002-04:00</published><updated>2009-06-28T18:19:03.984-04:00</updated><title type='text'>I'm Not Into Dating</title><content type='html'>Below is and edited version of a conversation I found.&lt;br /&gt;&lt;br /&gt;﻿&lt;span style="font-size:85%;"&gt;&lt;span style="color:#0e14f2;"&gt;(05:48:36 PM) &lt;span style="font-weight: bold;"&gt;Person1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#0e14f2;"&gt;&lt;b&gt;&lt;span style="font-size:100%;"&gt;:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt; wow. yeah, I've been there. I dated a guy last year who wasn't "big on relationships"....which I discovered was code which really meant "you're not worth me making a big deal out of what we have". Once I realized that, I wasn't sad to see him go&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#fd0b0b;"&gt;&lt;span style="font-size:85%;"&gt;(05:49:11 PM) &lt;span style="font-weight: bold;"&gt;Person2&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size:100%;"&gt;:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt; oh wow never though of it that way&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#0e14f2;"&gt;(05:49:16 PM) &lt;/span&gt;&lt;/span&gt;&lt;span style="color:#0e14f2;"&gt;&lt;b&gt;&lt;span style="font-size:100%;"&gt;Person1:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt; if someone doesn't think you're worth dating officially, then they're not worth you wasting your time over them.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#0e14f2;"&gt;(05:50:38 PM) &lt;/span&gt;&lt;/span&gt;&lt;span style="color:#0e14f2;"&gt;&lt;b&gt;&lt;span style="font-size:100%;"&gt;Person1&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color:#0e14f2;"&gt;&lt;b&gt;&lt;span style="font-size:100%;"&gt;:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt; yeah. Even farther back in time, a few years ago, I was one of those people. It wasn't that I didn't want a relationship, because nobody is going to turn down a relationship with the person that they think is right for them. The fact is that I didn't like the guy enough to commit to him.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#0e14f2;"&gt;(05:51:52 PM) &lt;/span&gt;&lt;/span&gt;&lt;span style="color:#0e14f2;"&gt;&lt;b&gt;&lt;span style="font-size:100%;"&gt;Person1&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color:#0e14f2;"&gt;&lt;b&gt;&lt;span style="font-size:100%;"&gt;:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt; [EDITED], but learn from my mistakes: get rid of this girl and don't waste more time on her, time that you could spend finding a girl who treats you well&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#fd0b0b;"&gt;&lt;span style="font-size:85%;"&gt;(05:52:54 PM) &lt;/span&gt;&lt;b&gt;&lt;span style="font-size:100%;"&gt;Person2:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt; wow that was really helpful. more so than the usual "move on/get over it" from others. thanks&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#0e14f2;"&gt;(05:53:10 PM) &lt;/span&gt;&lt;/span&gt;&lt;span style="color:#0e14f2;"&gt;&lt;b&gt;&lt;span style="font-size:100%;"&gt;Person1&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color:#0e14f2;"&gt;&lt;b&gt;&lt;span style="font-size:100%;"&gt;:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt; you're welcome, I'm glad I could help.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-6587141551585979980?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/6587141551585979980/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=6587141551585979980' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/6587141551585979980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/6587141551585979980'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/06/im-not-into-dating.html' title='I&apos;m Not Into Dating'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-885624592378025710</id><published>2009-06-10T23:17:00.002-04:00</published><updated>2009-06-10T23:21:25.554-04:00</updated><title type='text'>Just Friends...Forever</title><content type='html'>This was good for a small laugh. Not sure where it came from since a friend sent me the article and not a link. Anyway enjoy, oh and I don't feel this way about anyone so don't think that it's personal in anyway. Though my past would beg to differ.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-size:180%;"&gt;"&lt;/span&gt;I really like you. I do. You're so nice, and sweet, and you listen to all my problems and respond with the appropriate compliments. But, well, I don't really see a relationship in our future. It would be terrible if we let sex destroy this great friendship we have where I get everything I want and you get nothing you want. Don't you think?&lt;br /&gt;&lt;br /&gt;I knew you would understand. You always do.&lt;br /&gt;&lt;br /&gt;We're so perfect as friends, you know? I can tell you anything, and you know you can always come to me anytime you need to hear me bitch about work or how ugly I feel. You wouldn't want to ruin a friendship like that just so you could be my boyfriend, and have me look at you with desire and longing in my eyes, if only once—would you? Of course not. Well, if we started dating, it would only complicate this wonderful setup I've got going here.&lt;br /&gt;&lt;br /&gt;It's just…you're like my best friend, and I would hate for something you desperately want to change that. I mean, sure, we could go on some dates, maybe mess around a little and finally validate the six years you've spent languishing in this platonic nightmare, but then what? How could we ever go back to the way we were, where I take advantage of your clear attraction to me so I can have someone at my beck and call? That part of our friendship means so much to me.&lt;br /&gt;&lt;br /&gt;No. We are just destined to be really, really good friends who only hang out when I don't have a boyfriend, but still need male attention to boost my fragile and all-consuming ego.&lt;br /&gt;&lt;br /&gt;Anything can happen once you bring romance in. Think about how awful my last relationship was at the end, remember? The guy I'd call you crying about at 3 a.m. because he wouldn't answer my texts? The guy I met at the birthday party you threw me? I had insanely passionate sex with him for four months and now we don't even talk anymore. God, I would die if something like that happened to us.&lt;br /&gt;&lt;br /&gt;Plus, ick, can you even imagine getting naked in front of each other? I've known you so long, you're more like a brother that I've drunkenly made out with twice and never mentioned again. It'd be way too weird. And if we did, then whenever you'd come shopping with me, or go to one of my performances or charity events, or take me for ice cream when I've had a bad day at work, you'd be looking at me like, "I've seen her breasts." God, I can't think of anything more awkward that that.&lt;br /&gt;&lt;br /&gt;Oh, before I forget, my mom says hi.&lt;br /&gt;&lt;br /&gt;Anyway, you would totally hate me as your girlfriend. I'd be all needy and dramatic and slowly growing to love you. If I was your girlfriend, I would never be able to tell you all about the other asshole guys I date and pretend I don't see how much it crushes you. Let's never lose that. That's what makes us us.&lt;br /&gt;&lt;br /&gt;Don't worry. You're so funny and smart and amazing, any girl but me would be lucky to date you. You'll find someone, I know it. And when you do, I'll be right by your side to suddenly become all flirty and affectionate with you in front of her, until she grows jealous and won't believe it when you say we're just friends. But when she dumps you, that's just what we'll be.&lt;br /&gt;&lt;br /&gt;Best friends. Friends forever.&lt;span style="font-size:180%;"&gt;"&lt;/span&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-885624592378025710?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/885624592378025710/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=885624592378025710' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/885624592378025710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/885624592378025710'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/06/just-friendsforever.html' title='Just Friends...Forever'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-2564098477633630197</id><published>2009-06-09T19:44:00.003-04:00</published><updated>2009-06-09T19:47:45.240-04:00</updated><title type='text'>1984</title><content type='html'>Currently reading 1984 and am about half way through so far. Can't say that it has lived up to the hype as of yet but who knows.  Well I think I have found the best line in the whole book, yes I am willing to bet that it is better than anything I will read in the second half.&lt;br /&gt;&lt;br /&gt;&lt;blockquote style="font-style: italic;"&gt;"If you loved someone, you loved him, and when you had nothing else to give, you still gave him love."&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Personally I feel that it would be better if 'him' were changed to 'them' but that's just a minor detail.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-2564098477633630197?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/2564098477633630197/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=2564098477633630197' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/2564098477633630197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/2564098477633630197'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/06/1984.html' title='1984'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-7449352554539128752</id><published>2009-06-07T13:43:00.004-04:00</published><updated>2009-06-07T16:13:33.438-04:00</updated><title type='text'>How to Separate Interface From Implementation</title><content type='html'>Well I've finally managed to see how to separate implementation from interface.  The basic idea is pretty simple and that only took about a minuet to understand.  This was mainly due the fact that it was easy to find lots of examples online.  Really the only problem was that they didn't tell you HOW to use this to make a functional program.&lt;br /&gt;&lt;br /&gt;So I'll just put together a quick "how-to", where I'll walk through a simple example.&lt;br /&gt;&lt;br /&gt;We will create a class called Base, below is the &lt;span style="color: rgb(255, 0, 0);"&gt;base.h&lt;/span&gt; file.&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;pre&gt;&lt;br /&gt;#ifndef BASE_H&lt;br /&gt;#define BASE_H&lt;br /&gt;class Base&lt;br /&gt;{&lt;br /&gt;   int value;&lt;br /&gt;   public:&lt;br /&gt;      void set_value(int);&lt;br /&gt;      int get_value();&lt;br /&gt;};&lt;br /&gt;#endif&lt;/pre&gt;&lt;br /&gt;So that's the interface for our class, not to create the implementation. This will be in a file called &lt;span style="color: rgb(255, 0, 0);"&gt;base.cpp&lt;/span&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;pre&gt;&lt;br /&gt;#include "base.h"&lt;br /&gt;void Base::set_value(int x)&lt;br /&gt;{&lt;br /&gt;   this-&gt;value=x;&lt;br /&gt;}&lt;br /&gt;int Base::get_value()&lt;br /&gt;{&lt;br /&gt;   return this-&gt;value;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Finally here is the main program. Since we don't want to be original we shall just call it &lt;span style="color: rgb(255, 0, 0);"&gt;main.cpp&lt;/span&gt; and it looks something like this.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;#include&amp;lt iostream &gt;&lt;br /&gt;#include "base.h"&lt;br /&gt;using namespace std;&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt;   Base X;&lt;br /&gt;   X.set_value(120);&lt;br /&gt;   cout&amp;lt&amp;lt X.get_value()&amp;lt&amp;lt endl;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Now to we create an object file from &lt;span style="color: rgb(255, 0, 0);"&gt;base.cpp&lt;/span&gt; by entering &lt;span style="color: rgb(0, 0, 153);"&gt;g++ -c base.cpp&lt;/span&gt; into the terminal. Then to link this with &lt;span style="color: rgb(255, 0, 0);"&gt;main.cpp&lt;/span&gt; we type &lt;span style="color: rgb(0, 0, 153);"&gt;g++ main.cpp base.o&lt;/span&gt; into the terminal. If all has worked you should see the number 120 printed to the screen when you run your program. (with ./a.out in cause you were wondering)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-7449352554539128752?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/7449352554539128752/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=7449352554539128752' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/7449352554539128752'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/7449352554539128752'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/06/hide-implementation.html' title='How to Separate Interface From Implementation'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-8979544780645642064</id><published>2009-06-03T17:40:00.004-04:00</published><updated>2009-06-04T11:43:10.172-04:00</updated><title type='text'>Progress Update II</title><content type='html'>Well I ended up starting over.  My original plans were a little too complicated for a first attempt at a game.  However, the way things are set up it is moderately easy to make any desired updates.  One "mistake", well more of a not sticking to convention,  is that I did not separate the interface and implementation of things in my header files.  Right now I'm reading more on why this should be done, but haven't gotten far enough to be able to see much real benefit.&lt;br /&gt;&lt;br /&gt;Here are all the header files I use as well as a brief description of what they do.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Hero.h&lt;/span&gt;&lt;br /&gt;Used to make the hero class, also known as the character you control.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Enemy.h&lt;/span&gt;&lt;br /&gt;Basic information that all enemies in the game share; such as health, a name, and strength.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Save.h and Load.h&lt;/span&gt;&lt;br /&gt;Used to save and load game data.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Fight.h&lt;/span&gt;&lt;br /&gt;Control all the aspects of combat. This would include things like if an attack hits, how much damage attacks do, and knowing when a fight is over.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Menu.h&lt;/span&gt;&lt;br /&gt;All the menus that appear in the game are in this file.  It contains a number of functions that return characters or strings, to let the game know what the user has decided to do.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Engine.h&lt;/span&gt;&lt;br /&gt;Contains the Play_game( ) function that more or less controls the flow of the game.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-8979544780645642064?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/8979544780645642064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=8979544780645642064' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8979544780645642064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8979544780645642064'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/06/update-ii.html' title='Progress Update II'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-941105113676555173</id><published>2009-06-02T13:09:00.002-04:00</published><updated>2009-06-02T13:14:30.797-04:00</updated><title type='text'>Derrick Rose</title><content type='html'>Found this &lt;a href="http://rivals.yahoo.com/ncaa/basketball/news?slug=dw-rose060109&amp;amp;prov=yhoo&amp;amp;type=lgns"&gt;article&lt;/a&gt; to be quite though provoking.  Don't think I'll say where I stand on the issue but he does raise a few good question.&lt;br /&gt;&lt;br /&gt;My two favorite excerpts are below.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote style="font-style: italic;"&gt;This isn’t to absolve the people involved, but the question shouldn’t just be did Derrick Rose cheat on his SAT?&lt;br /&gt;&lt;br /&gt;It should be why the heck did he have to take it in the first place?&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote style="font-style: italic;"&gt;No one cared when Danica Patrick went pro as a race car driver at 16. No one tried to prevent Shawn Johnson from winning an Olympic gold at the same age or Miley Cyrus from making millions singing and acting with her dad even younger than that.&lt;br /&gt;&lt;br /&gt;And no one ever required them to recognize analogies before doing so.&lt;br /&gt;&lt;br /&gt;So why do we make Derrick Rose?&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-941105113676555173?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/941105113676555173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=941105113676555173' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/941105113676555173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/941105113676555173'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/06/derrick-rose.html' title='Derrick Rose'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-4686805140208813098</id><published>2009-05-27T12:17:00.007-04:00</published><updated>2009-05-28T14:11:04.414-04:00</updated><title type='text'>Progress Update I</title><content type='html'>So far everything is going pretty smoothly. This is due largely in part to having created a UML, and doing some documentation before I started coding. However, I feel that I will have to go back and change and/or add somethings.  The biggest problem right now is memory management. I don't yet fully understand how the delete keyword works, so my classes at this point don't have deconstructors (yes I know wasted memory, but the game shouldn't be that big so I will worry about it later). This is the main reason that I considered writing the game in Java and not C++.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Creating and using my own header files is actually easier that I had first assumed. Every now and then I will make sure that they work by trying to use them in a small test program that I wrote. Most of the time if there is a problem with a file it is because of a stupid typo or forgetting to include another needed header file, so nothing too detrimental.&lt;br /&gt;&lt;br /&gt;Even though everything works so far, and by that I mean compiles with no errors or warning, I still have no idea if they work as intended.&lt;br /&gt;&lt;br /&gt;I'll post a quick overview of all the current and planned header files in the next update.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-4686805140208813098?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/4686805140208813098/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=4686805140208813098' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/4686805140208813098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/4686805140208813098'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/05/progress-update-i.html' title='Progress Update I'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-3851207765525626481</id><published>2009-05-25T16:35:00.002-04:00</published><updated>2009-05-25T16:41:11.975-04:00</updated><title type='text'>Y-Game</title><content type='html'>So I have come up with a personal summer project. I am going to recreate "Y-Game".  Basically this was a text bases RPG that my friend created back in high school for the TI-83/84.&lt;br /&gt;Right now it will still be text based, but that might change depending on how much time I end up having.  Also it will be more elaborate since I will be writing the game in C++ (or Java, but not likely).&lt;br /&gt;From this I am basically hoping to become more familiar with header files, linking files, and most of all writing and reading data from a file.  I already know how to read and write to a file, I would like to do that so that it is possible to save your progress in the game and then come back at a later time and continue.&lt;br /&gt;More than likely the next few post will be updates on how things are coming along.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-3851207765525626481?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/3851207765525626481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=3851207765525626481' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/3851207765525626481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/3851207765525626481'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/05/y-game.html' title='Y-Game'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-8159841776104676180</id><published>2009-05-12T21:15:00.005-04:00</published><updated>2009-05-12T21:49:18.802-04:00</updated><title type='text'>Moving Through Trees</title><content type='html'>Well this week has been pretty successful so far. I've managed to solve 4 SPOJ problems I think, though one was just applying a "basic" geometry formula.&lt;br /&gt;&lt;br /&gt;Of the remaining problems the first was about playing a game optimally. Usually I detest doing these kinds of problems, but once I noticed that there were solutions in Brainf**k I knew that there was something I was missing. Here is the link to the &lt;a href="http://www.spoj.pl/problems/NGM/"&gt;problem&lt;/a&gt;, as far as hints go all I will say is play the game by hand for the first few (under 30) numbers and you should notice a pattern.&lt;br /&gt;&lt;br /&gt;The next two problems are pretty similar. Since I am going be describing how I actually solved them I will not be providing a link. They were both asking you to find the longest path within a given tree. The naive approach (and probably more difficult to program) approach would be to find the distance between very possible pair of vertices. This is going to result in an O(n^2) algorithm, and not to mention that it isn't immediately obvious how to find the distance between two given vertices. Naturally the next I idea was to use a depth first or breath first search, the issue now becomes knowing if you have found the longest path. Well here is the approach that I used; start with any vertex of the tree and then use DFS (depth first search) to find the vertex that is farthest from it, call this vertex X1. Now do another DFS starting with X1 and find the vertex X2 that it is furthers from. The distance between X1 and X2 will be the longest path in the tree (though I don't feel like proving rigerously or even using hand waving to explain why).&lt;br /&gt;&lt;br /&gt;Here is a sample of the code I used to solve the case where all the paths had the same length. It isn't too difficult to modify for weighted trees.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;pre&gt;&lt;br /&gt;pair&lt; &lt;span style="color: rgb(51, 255, 51);"&gt;int&lt;/span&gt;,&lt;span style="color: rgb(51, 255, 51);"&gt;int&lt;/span&gt; &gt; dfs(vector&lt; &lt;span style="color: rgb(51, 255, 51);"&gt;int&lt;/span&gt; &gt; &gt;&amp;amp;G,&lt;span style="color: rgb(51, 255, 51);"&gt;int&lt;/span&gt; v)&lt;br /&gt;{&lt;br /&gt;   stack&lt; &lt;span style="color: rgb(51, 255, 51);"&gt;int&lt;/span&gt; &gt; S;&lt;br /&gt;   S.push(v);&lt;br /&gt;   vector&lt; &lt;span style="color: rgb(51, 255, 51);"&gt;int&lt;/span&gt; &gt; visit(G.size(),&lt;span style="color: rgb(204, 51, 204);"&gt;0&lt;/span&gt;);&lt;br /&gt;   &lt;span style="color: rgb(255, 0, 0);"&gt;while&lt;/span&gt;(!S.empty())&lt;br /&gt;   {&lt;br /&gt;      &lt;span style="color: rgb(51, 255, 51);"&gt;int&lt;/span&gt; parent=S.top();&lt;br /&gt;      S.pop();&lt;br /&gt;      tr(G[parent],i)&lt;br /&gt;      {&lt;br /&gt;         &lt;span style="color: rgb(255, 0, 0);"&gt;if&lt;/span&gt;(visit[*i]==&lt;span style="color: rgb(204, 51, 204);"&gt;0&lt;/span&gt;)&lt;br /&gt;         {&lt;br /&gt;            S.push(*i);&lt;br /&gt;            visit[*i]=visit[parent]+&lt;span style="color: rgb(204, 51, 204);"&gt;1&lt;/span&gt;;&lt;br /&gt;         }&lt;br /&gt;      }&lt;br /&gt;    }&lt;br /&gt;    vector&lt; &lt;span style="color: rgb(51, 255, 51);"&gt;int&lt;/span&gt; &gt;::iterator    i=max_element(visit.begin(),visit.end());&lt;br /&gt;   &lt;span style="color: rgb(255, 0, 0);"&gt;return&lt;/span&gt; make_pair(i-visit.begin(),*i);&lt;br /&gt;}&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The first entry of the returned pair is the vertex farthest from the starting point, while the second entry is the distance. Thus you will run the DFS two times as previously mentioned. So the complexity of this method is O(n) which is much better than the other approach.&lt;br /&gt;It should be noted that the following is at the beginning of the code&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 51, 204);"&gt;#define tr(a,i) for(typeof(a.begin()) i=a.begin();i!=a.end();++i)&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-8159841776104676180?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/8159841776104676180/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=8159841776104676180' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8159841776104676180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8159841776104676180'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/05/moving-through-trees.html' title='Moving Through Trees'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-6220521668124076518</id><published>2009-05-09T01:27:00.003-04:00</published><updated>2009-05-09T01:31:57.560-04:00</updated><title type='text'>Summer Job</title><content type='html'>So I most likely will have to find a job this summer. I am pretty set on avoiding fast food and being a waiter. As of now the list of potential places of employment are as follows:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Kohl's&lt;/li&gt;&lt;li&gt;ACM&lt;/li&gt;&lt;li&gt;Boston Market&lt;/li&gt;&lt;li&gt;Jo-Ann's&lt;/li&gt;&lt;li&gt;Sears&lt;/li&gt;&lt;/ul&gt;I don't really consider Boston Market to be quite as bad as normal fast food restaurants so that is why it is included on the list.&lt;br /&gt;&lt;br /&gt;In addition to possibly working I will also be preparing for the GRE and hopefully start studying for the FM actuarial exam. Oh and I should also email my thesis advisor asking him if there are any papers he would like me to read over the summer.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-6220521668124076518?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/6220521668124076518/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=6220521668124076518' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/6220521668124076518'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/6220521668124076518'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/05/summer-job.html' title='Summer Job'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-6838979823527502807</id><published>2009-04-28T13:12:00.004-04:00</published><updated>2009-04-28T16:23:32.205-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Terminal</title><content type='html'>A little while ago I installed Ubuntu 8.10 onto my desktop, along with Windows XP. Truthfully speaking, the only reason I boot into Windows more often is because I have a program that lets me watch tv on my computer (which is nice seeing as how I don't currently have a real tv).&lt;br /&gt;&lt;br /&gt;Anyway, after changing most of the Ubuntu settings so that things are the way I like them; I realized that I still hadn't "fixed" the terminal size. Well at first I did a little Google search to see what the necessary command(s) I would have to run were. However, most of what I found required me to make a launcher, which I didn't want to do. Though I have a feeling that this is the way I solved this issue when I installed Ubuntu onto a portable HD for my laptop.&lt;br /&gt;&lt;br /&gt;Finally I found a much nicer way to change the default terminal size. Here it is;&lt;br /&gt;&lt;br /&gt;1) Open up a terminal&lt;br /&gt;&lt;br /&gt;2) Tyep the following:&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;sudo gedit /usr/share/vte/termcap/xterm&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;*in the above you could replace gedit with vim if you wanted, but I just like using gedit personally.&lt;br /&gt;&lt;br /&gt;3) Find the following line:&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;:co#80:it#8:li#24&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;4) Change it to the following:&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;:co#A:it#8:li#B&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;Where A and B are the dimensions you desire. (Your teminal will have dimensions A x B)&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-6838979823527502807?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/6838979823527502807/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=6838979823527502807' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/6838979823527502807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/6838979823527502807'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/04/terminal.html' title='Terminal'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-5496479500564896868</id><published>2009-04-23T15:17:00.002-04:00</published><updated>2009-04-23T15:29:29.527-04:00</updated><title type='text'>Daydreamin</title><content type='html'>Yesterday I went to a &lt;a href="http://www.last.fm/music/Lupe+Fiasco"&gt;Lupe Fiasco&lt;/a&gt; concert. Definitely not an experience that will be forgotten any time soon. My only complaint would have to be the excessive use of strobe lights, though after a while I did manage to get used to them.&lt;br /&gt;&lt;br /&gt;There was one song in particular that he performed that stood out more than the others. Not because of the lyrics or the beat, but rather because of a past experience that involved the song. I won't go into what the experience was on this blog, but you will get a video of the song, along with the lyrics.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/KUQoi3tJEYw&amp;amp;hl=en&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0xcc2550&amp;amp;color2=0xe87a9f"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/KUQoi3tJEYw&amp;amp;hl=en&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0xcc2550&amp;amp;color2=0xe87a9f" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Lyrics:&lt;/span&gt;&lt;br /&gt;&lt;blockquote style="font-style: italic;"&gt;Daydream&lt;br /&gt;I fell asleep beneath the flowers&lt;br /&gt;For a couple of hours&lt;br /&gt;On a beautiful day&lt;br /&gt;Daydream&lt;br /&gt;I dream of you amid the flowers&lt;br /&gt;For a couple of hours&lt;br /&gt;Such a beautiful day&lt;br /&gt;&lt;br /&gt;[Lupe Fiasco]&lt;br /&gt;As I spy from behind my giant robot's eyes&lt;br /&gt;I keep him happy 'cause I might fall out if he cries&lt;br /&gt;Scared of heights so I might pass out if he flies&lt;br /&gt;Keep him on autopilot 'cause I can't drive&lt;br /&gt;Room enough for one I tell my homies they can't ride&lt;br /&gt;Unless they sittin on the shoulders but that's way too high&lt;br /&gt;Let's try not to step on the children&lt;br /&gt;The news cameras filmin&lt;br /&gt;This walkin project buildin&lt;br /&gt;Now there's hoes sellin hoes like right around the toes&lt;br /&gt;And the crackheads beg at about the lower leg&lt;br /&gt;There's crooked police that's stationed at the knees&lt;br /&gt;And they do drive-bys like up and down the thighs&lt;br /&gt;And there's a car chase goin on at the waist&lt;br /&gt;Keep a vest on my chest&lt;br /&gt;I'm sittin in my room as I'm lookin out the face&lt;br /&gt;Somethin to write about&lt;br /&gt;I still got some damage from fightin the whitehouse, just a&lt;br /&gt;&lt;br /&gt;Daydream&lt;br /&gt;I fell asleep beneath the flowers&lt;br /&gt;For a couple of hours&lt;br /&gt;On a beautiful day&lt;br /&gt;Daydream&lt;br /&gt;I dream of you amid the flowers&lt;br /&gt;For a couple of hours&lt;br /&gt;Such a beautiful day&lt;br /&gt;&lt;br /&gt;[Lupe Fiasco]&lt;br /&gt;Now come on everybody, let's make cocaine cool&lt;br /&gt;We need a few more half naked women up in the pool&lt;br /&gt;And hold this MAC-10 that's all covered in jewels&lt;br /&gt;And can you please put your titties closer to the 22s?&lt;br /&gt;And where's the champagne? We need champagne&lt;br /&gt;Now look as hard as you can with this blunt in your hand&lt;br /&gt;And now hold up your chain slow motion through the flames&lt;br /&gt;Now cue the smoke machines and the simulated rain&lt;br /&gt;But not too loud 'cause the baby's sleepin&lt;br /&gt;I wonder if it knows what the world is keepin&lt;br /&gt;Up both sleeves while he lay there dreamin&lt;br /&gt;Me and my robot tip-toe 'round creepin&lt;br /&gt;I had to turn my back on what got you paid&lt;br /&gt;I couldn't see half the hood on me like Abu Ghraib&lt;br /&gt;But I'd like to thank the streets that drove me crazy&lt;br /&gt;And all the televisions out there that raised me, I was&lt;br /&gt;&lt;br /&gt;Daydream&lt;br /&gt;I fell asleep beneath the flowers&lt;br /&gt;For a couple of hours&lt;br /&gt;On a beautiful day&lt;br /&gt;Daydream&lt;br /&gt;I dream of you amid the flowers&lt;br /&gt;For a couple of hours&lt;br /&gt;Such a beautiful day&lt;br /&gt;&lt;br /&gt;Daydream&lt;br /&gt;I fell asleep beneath the flowers&lt;br /&gt;For a couple of hours&lt;br /&gt;On a beautiful day&lt;br /&gt;Daydream&lt;br /&gt;I dream of you amid the flowers&lt;br /&gt;For a couple of hours&lt;br /&gt;Such a beautiful day&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-5496479500564896868?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/5496479500564896868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=5496479500564896868' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/5496479500564896868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/5496479500564896868'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/04/daydreamin.html' title='Daydreamin'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-3760239104975512920</id><published>2009-04-21T00:24:00.001-04:00</published><updated>2009-04-21T00:25:45.913-04:00</updated><title type='text'>Drains</title><content type='html'>This post just made my day. The next time I have a blocked drain I am totally going to try this.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://hpuew.blogspot.com/2009/04/bi-carb-soda.html"&gt;http://hpuew.blogspot.com/2009/04/bi-carb-soda.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-3760239104975512920?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/3760239104975512920/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=3760239104975512920' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/3760239104975512920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/3760239104975512920'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/04/drains.html' title='Drains'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-388856945703987142</id><published>2009-04-13T09:32:00.004-04:00</published><updated>2009-04-13T09:35:08.280-04:00</updated><title type='text'>Christina Aguilera</title><content type='html'>I was on Yahoo reading an article about someone's &lt;a href="http://new.music.yahoo.com/blogs/listoftheday/128440/the-10-finest-divas/"&gt;10 Finest DIVAS&lt;/a&gt;. Here is what they had to say about Christina Aguilera.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-style: italic;"&gt;She almost made my pop list, since I enjoy her as a radio pop star, but you know the inside line on Ms. Aguilera is how unlike so many of her contemporaries, she can actually sing! Imagine how exciting that must be for the studio engineers and record producers who work with her. It's like hiring an electrician and discovering after he leaves that your house now has actual electricity and the light switches all work! Such competence in this day and age? What next? A CD player that doesn't break after only four years? Crazy!&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;And I'm not afraid to admit that I am a fan. Honestly talent is sexy and you and I both know that she is a damn good singer.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-388856945703987142?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/388856945703987142/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=388856945703987142' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/388856945703987142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/388856945703987142'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/04/christina-aguilera.html' title='Christina Aguilera'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-7064043515557209255</id><published>2009-04-07T00:24:00.002-04:00</published><updated>2009-04-07T00:42:06.279-04:00</updated><title type='text'>BigInteger</title><content type='html'>Well I now have a working C++ BigInteger class. The only problem is that so far it is only able to do addition and multiplication. I am fine with the speed of the additions since you can't do any better.  The multiplication is where the main problems are located. Sure the method works but it is way too slow. I just need to figure out how to convert a string that represents a number in base 10 into a string that represents the same number in binary. Once I am able to do this I know how to perform faster multiplication algorithms. A similar problem will be converting the answer (which will be in binary) back to decimal.&lt;br /&gt;&lt;br /&gt;Regardless I would still like to add a method for modular arithmetic and possibly division, these would just be nice to have but not necessary. Also I should probably work on getting it to handle negative numbers as well.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-7064043515557209255?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/7064043515557209255/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=7064043515557209255' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/7064043515557209255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/7064043515557209255'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/04/biginteger.html' title='BigInteger'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-8271592825226430628</id><published>2009-03-31T17:44:00.002-04:00</published><updated>2009-03-31T17:59:05.832-04:00</updated><title type='text'>Printer Simulation</title><content type='html'>&lt;a href="http://spoj.pl/problems/PQUEUE"&gt;PQUEUE&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The question above was my "SPOJ victory of the day."  On my first attempt at the problem I was thinking too hard about all possible cases. Needless to say this resulted in WA. However, today I looked at the problem and noticed that the bounds were extremely low. So I thought about just simulating the process, and realized after a little thinking that this would be O(n^2) in the worst case, which was not a problem considering the fact that the upper bound on n was about 100. After getting my solution accepted I noticed that there were relatively few TLEs, this should have alerted me sooner that a "trivial solution" was possible&lt;br /&gt;&lt;br /&gt;I think the problem would be more interesting if they gave you the times that each job was added to the printer queue. The problem would still be solvable by simulation but it would require a little more "creativity" in doing so. However, the way I coded my solution, it wouldn't be too hard to adapt it for this variation. Basically I used a double-ended queue to keep track of the order of each job request. The reason for using this structure is that it has the ability to quickly add and element to the back and delete and element from the front. In addition I used a heap to keep track of which job currently had the highest priority.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-8271592825226430628?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/8271592825226430628/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=8271592825226430628' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8271592825226430628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8271592825226430628'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/03/printer-simulation.html' title='Printer Simulation'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-2811862732296889007</id><published>2009-03-27T14:45:00.003-04:00</published><updated>2009-03-27T14:47:32.513-04:00</updated><title type='text'>Nice Quote</title><content type='html'>I was talking to my analysis professor about which classes I should take next semester. We were both clear that I was taking the 6000 level analysis, but then for my other class there was a choice between Functions of Complex Variables and Elements of Topology. His opinion on the subject can be summed up in the following quote,&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;"If we (the math department) were to only offer one course this (complex analysis) should be it."&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-2811862732296889007?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/2811862732296889007/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=2811862732296889007' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/2811862732296889007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/2811862732296889007'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/03/nice-quote.html' title='Nice Quote'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-7095137136475492958</id><published>2009-03-27T00:12:00.005-04:00</published><updated>2009-03-27T00:31:35.641-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming Related'/><title type='text'>Hashtables</title><content type='html'>Well I was looking for a hash-map in C++ since doing something like&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;pre&gt;myMap[i];&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;Where myMap is an std::map&amp;lt;&gt; takes logarithmic look up.&lt;br /&gt;&lt;br /&gt;So after some looking around I did manage to find that there were hash-maps for C++, but after that I had to do some more searching to see what libraries I needed to include in order to use them.&lt;br /&gt;&lt;br /&gt;Below is a little program that just prints the integers 1 to 10 followed by hello world, that makes use of a hash-map.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;pre&gt;&lt;br /&gt;#include&amp;lt;iostream&gt;&lt;br /&gt;#include&amp;lt;ext/hash_map&gt;&lt;br /&gt;#include&amp;lt;string&gt;&lt;br /&gt;using namespace std;&lt;br /&gt;using namespace __gnu_cxx;&lt;br /&gt;&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt; hash_map&amp;lt;int,int&gt; myhash;&lt;br /&gt; for(int i=0;i&amp;lt;10;i++)&lt;br /&gt;     myhash[i]=i+1;&lt;br /&gt; for(typeof(myhash.begin()) i=myhash.begin();i!=myhash.end();i++)&lt;br /&gt;     cout&amp;lt;&amp;lt;i-&gt;second&amp;lt;&amp;lt;' ';&lt;br /&gt; cout&amp;lt;&amp;lt;"hello world\n";&lt;br /&gt; return 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;Certainly not the most user friendly stuff to type at the beginning but I suppose it is worth it.  I should mention that when I wrote the second for loop I had no idea if it would compile or not since I didn't know that you could use iterators on hash_maps. Also unlike std::map, __gnu_cxx::hash_map does not store the keys in an ordered fashion, just something to be aware of.&lt;br /&gt;&lt;br /&gt;As a side note, if you didn't add the line&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;pre&gt;&lt;br /&gt;using namespace __gnu_cxx;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;you would have to type&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;pre&gt;&lt;br /&gt;__gnu_cxx::hash_map&amp;lt;Tyep&amp;amp;key,Type&amp;amp;value&gt;;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;This should be obvious but you never know when/if you'll one day forget.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-7095137136475492958?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/7095137136475492958/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=7095137136475492958' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/7095137136475492958'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/7095137136475492958'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/03/hashtables.html' title='Hashtables'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-6433103539880026906</id><published>2009-03-24T16:43:00.002-04:00</published><updated>2009-03-24T16:46:51.432-04:00</updated><title type='text'>My 2008 Putnam Results</title><content type='html'>As expected I managed to score a 20/120, in addition to this I finished 616/3627, so top 17%.  To be honest I was hoping that I would have been in the top 15% but I'm not going to complain.&lt;br /&gt;&lt;br /&gt;Oh in addition to this our school finished 12th, which is our best finish ever from what I've been told. Sadly I wasn't on the team (I had class at the time of the T.S.T), but hopefully I will be next year and we will finish just as high if not better.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-6433103539880026906?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/6433103539880026906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=6433103539880026906' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/6433103539880026906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/6433103539880026906'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/03/my-2008-putnam-results.html' title='My 2008 Putnam Results'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-5875219722451687287</id><published>2009-03-21T13:15:00.007-04:00</published><updated>2009-03-21T15:33:21.569-04:00</updated><title type='text'>Hello World</title><content type='html'>&lt;code&gt;&lt;/code&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;#include &amp;lt;iostream&gt;&lt;/span&gt;&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt;   cout&lt;&amp;lt;&lt;span style="color: rgb(255, 102, 102);"&gt;"Hello world.&lt;/span&gt;&lt;span style="color: rgb(192, 192, 192);"&gt;\n&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;"&lt;/span&gt;;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;return &lt;/span&gt;0;&lt;br /&gt;} &lt;/pre&gt;&lt;br /&gt;You have no idea how long it took to get that to look nice. The part that caused the most problems was getting the '&amp;lt;' and '&gt;'signs to display properly, &lt;span style="font-style: italic;"&gt;thanks HTML&lt;/span&gt;.  After that it was pretty straight forward, you just put the code in between either&lt;br /&gt;&lt;br /&gt;&amp;lt;blockquote&gt; ...  &amp;lt;/blockquote&gt;&lt;br /&gt;or&lt;br /&gt;&amp;lt;code&gt;&amp;lt;pre&gt; ... &amp;lt;/pre&gt;&amp;lt;/code&gt;.&lt;br /&gt;&lt;br /&gt;In case you were wondering, in order to display '&amp;lt;' you typed &amp;amp;_l_t_; (without the underscores). For some reason you can make '&gt;' with the one on the keyboard, but you can also do &amp;amp;_g_t_; (once again without the underscores).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-5875219722451687287?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/5875219722451687287/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=5875219722451687287' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/5875219722451687287'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/5875219722451687287'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/03/hello-world.html' title='Hello World'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-4219881880447321295</id><published>2009-03-20T00:19:00.004-04:00</published><updated>2009-03-21T02:56:58.135-04:00</updated><title type='text'>Units Actually do Matter</title><content type='html'>Just another reason no one likes biased news; be it liberal, conservative, 'Apple', or whatever.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="file:///C:/DOCUME%7E1/Nick/LOCALS%7E1/Temp/moz-screenshot.jpg" alt="" /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_L0iYbx2zzdM/ScMZrkOo_pI/AAAAAAAAAIQ/JVaD4rMxCaA/s1600-h/1000_times.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 311px;" src="http://4.bp.blogspot.com/_L0iYbx2zzdM/ScMZrkOo_pI/AAAAAAAAAIQ/JVaD4rMxCaA/s400/1000_times.png" alt="" id="BLOGGER_PHOTO_ID_5315120221477469842" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You might remember this from a while back, if not then enjoy it now.&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/lCJ3Oz5JVKs&amp;hl=en&amp;fs=1&amp;rel=0"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/lCJ3Oz5JVKs&amp;hl=en&amp;fs=1&amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-4219881880447321295?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/4219881880447321295/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=4219881880447321295' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/4219881880447321295'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/4219881880447321295'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/03/units-actually-do-matter.html' title='Units Actually do Matter'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_L0iYbx2zzdM/ScMZrkOo_pI/AAAAAAAAAIQ/JVaD4rMxCaA/s72-c/1000_times.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-5001237545850826157</id><published>2009-03-14T00:50:00.002-04:00</published><updated>2009-03-14T01:05:53.202-04:00</updated><title type='text'>[Inert Your Title Here]</title><content type='html'>Well it is almost the end of another Spring Break. I had originally planned to copy the Measure Theory portion of my Analysis notes into my new notebook, study look over some Differential Equations, and get in some &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;SPOJ&lt;/span&gt; time. Needless to say things didn't go as planned. Pretty much all my free time was spent working on &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;SPOJ&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Most of the problems were ones that I had previously started but for some reason was unable to generate an acceptable solution. The only totally "new" problems were &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;JAVAC&lt;/span&gt;, &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;SUMITR&lt;/span&gt;, and &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;TRICENTR&lt;/span&gt;. None of these were all that difficult, but the source limit on &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;SUMITR&lt;/span&gt; did cause some issues. I ended up writing the solution for that in C rather than C++.&lt;br /&gt;&lt;br /&gt;Here are the other solved problems and my remarks.&lt;br /&gt;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;ADOMINO&lt;/span&gt;: Exactly the same as &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;AGGRCOW&lt;/span&gt; but there are some cases that &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;AGGRCOW&lt;/span&gt; didn't have so some modifications needed to be added in order to work around these. Not sure if this should even count as a "new" problem really, but why not, it did take me more than 1 submission.&lt;br /&gt;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;SBANK&lt;/span&gt;: I just needed to use a faster way to read the input. To think that I had this problem unsolved for about half a year only because of this.&lt;br /&gt;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;SHPATH&lt;/span&gt;: I had to implement Dijkstra's with a priority queue (a heap like data structure) rather than a set. Personally I prefer to use the set solution but I can see why the priority queue method is faster.&lt;br /&gt;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;STABLEMP&lt;/span&gt;: My idea of using a greedy algorithm was correct. The problem was in the way I was storing the necessary information. Just imagine my embarrassment when I discovered this small but important mistake.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-5001237545850826157?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/5001237545850826157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=5001237545850826157' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/5001237545850826157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/5001237545850826157'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/03/inert-your-title-here.html' title='[Inert Your Title Here]'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-250434183037214372</id><published>2009-02-27T23:33:00.004-05:00</published><updated>2009-02-27T23:45:08.325-05:00</updated><title type='text'>Back From a Hectic "Vacation"</title><content type='html'>Wow it has been a while since I have updated this blog. Quite a bit has gone on in my life since then, but I won't go into those things on this blog (that's what the other blog is for quite frankly).  As far as school goes I am discovering that learning measure theory is almost as confusing as learning basic topology was the first time through. Luckily the professor makes comparisons to continuous functions, and other topological things that we are familiar with. So it could be worse I suppose. I tried reading the chapter in Rudin and needless to say I was left wondering, "what did he just say, and how am I suppose to show that?" Intermediate differential equations is pretty simple, the only bad thing is that some of the problems are quite computationally involved and they bore me to be honest.  At times I wish the course was more proof based but I know that in order to do so you would need high level analysis (real or complex I'm not sure) and most of the people in that class (myself included most likely) aren't up to that.&lt;br /&gt;&lt;br /&gt;The computer science classes are quite the bore. Though Intro. to computer organization has its interesting moments.&lt;br /&gt;&lt;br /&gt;Well that's enough about classes. This Sunday there is going to be a programming contest. Hopefully everything will run smoothly *fingers crossed*.&lt;br /&gt;&lt;br /&gt;Also I'm a lot more active on SPOJ now that I was before. I should start looking at more problems that just those I find interesting if I really want to increase my knowledge (or at least that's what I believe).  The last problem I solved that required some thinking was a &lt;a href="http://www.spoj.pl/problems/ACODE/"&gt;little DP problem&lt;/a&gt;. Building the solution wasn't all that bad, what made it a little challenging was making sure you caught all the cases.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-250434183037214372?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/250434183037214372/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=250434183037214372' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/250434183037214372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/250434183037214372'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/02/back-from-hectic-vacation.html' title='Back From a Hectic &quot;Vacation&quot;'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-988642553305288394</id><published>2009-01-10T16:07:00.003-05:00</published><updated>2009-01-10T16:20:56.301-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming Related'/><category scheme='http://www.blogger.com/atom/ns#' term='News/Article Clips'/><category scheme='http://www.blogger.com/atom/ns#' term='Math Related'/><category scheme='http://www.blogger.com/atom/ns#' term='Life Experiments'/><title type='text'>Annoyance</title><content type='html'>Well I decided that this year I would like to keep better track of what I listen to, so that when I make the "Best of 2009" post the numbers will be more accurate.  Only problem is that I can't for the love of me enable the Last.fm scrobbling program while using Ubuntu. Well that's not entirely true.  I've gotten it so that it recognizes the song, the only problem is that when I get it to do this I am unable to actually play the song with my media player. I've looked around and have a general idea of what is causing this problem. Only thing is that I haven't been able to find a solution, well I'm sure I could but right now it's not at the top of my priority list.  In addition to this I use &lt;a href="http://pandora.com"&gt;pandora&lt;/a&gt; quite a bit, and I'm not sure if it keeps track of your listening trends the say way Last.fm does. Oh well.&lt;br /&gt;&lt;br /&gt;So I'm using my Windows XP computer for the first time in a few months.  One thing I will say is that I miss having a gcc compiler. I have Dev-C++ which usually pretty close to being the same but it's just not the same. I looked around and found a way to get the compiler I want for XP but don't really feel like doing all the necessary work right now, I'll probably end up doing it around the time of finals.  The only reason this is a bother is because when I submit solutions to SPOJ problems there is a small chance that there might be a compilation error. It would be really cool if there was an online "compiler" so that I could check before submitting (this is when I'm not writing the program under Ubuntu of course).&lt;br /&gt;&lt;br /&gt;One last thing, for those of you who continually ask "What are you going to do with a math degree?" or "Why math?" Here is an &lt;a href="http://online.wsj.com/article/SB123119236117055127.html"&gt;answer&lt;/a&gt; I'm sure you'll like.  Notice how the top rated jobs are mostly math/science related.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-988642553305288394?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/988642553305288394/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=988642553305288394' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/988642553305288394'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/988642553305288394'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/01/annoyance.html' title='Annoyance'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-5125477053422301585</id><published>2009-01-07T20:15:00.004-05:00</published><updated>2009-01-10T16:06:24.895-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life Events'/><title type='text'>Best of 2008</title><content type='html'>Well yes I know this is a little late but I don't care. I'm going to list the top 10 artist, albums, and songs I listened to in 2008 according to Last.fm  Note that when I get to tracks I will only list each artist once. Thus if they actually appear more than once I will only list their top ranking track (just to add some variety) I will however say how many tracks they had in the top 10 and if they actually were in the "official" top 10.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Artist:&lt;/span&gt;&lt;br /&gt;1- Lil' Wayne (1444 plays)&lt;br /&gt;2- Linkin Park (902 plays)&lt;br /&gt;3- Yngwie Malmsteen (838 plays)&lt;br /&gt;4- Maroon 5 (817 plays)&lt;br /&gt;5- Alter Bridge (768 plays)&lt;br /&gt;6-  AFI (700 plays)&lt;br /&gt;7- Stratovarious (687 plays)&lt;br /&gt;8- Nada Surf (681 plays)&lt;br /&gt;9- Kanye West (680 plays)&lt;br /&gt;10- Muse (471 plays)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Songs:&lt;/span&gt;&lt;br /&gt;1- Far Beyond the Sun(95 plays) [Yngwie Malmsteen] (also in real top 10: Black Star)&lt;br /&gt;2- A Milli(91 plays) [Lil' Wayne] (also in real top 10: La La, Got Money, Phone Home, 3Peat, Lollipop, You Ain't Got Nuthin')&lt;br /&gt;3- See These Bones(84 plays) [Nada Surf]&lt;br /&gt;4- Blackbird(73 plays) [Alter Bridge] (actually at position 11)&lt;br /&gt;5- Put On(70 plays) [Young Jezzy]&lt;br /&gt;6- Prayer of the Refugee(62 plays) [Rise Against]&lt;br /&gt;7- Papercut(61 plays) [Linkin Park]&lt;br /&gt;8- Prelude 12/21(60 plays) [AFI]&lt;br /&gt;9- A Beautiful Lie(58 plays) [30 Seconds to Mars]&lt;br /&gt;10- Shiver(55 plays) [Maroon 5]&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Albums:&lt;/span&gt;&lt;br /&gt;1- The Carter 3 (804 plays) [Lil' Wayne] (was there really any doubt?)&lt;br /&gt;2- Lucky (655 plays) [Nada Surf]&lt;br /&gt;3- Songs About Jane (453 plays) [Maroon 5]&lt;br /&gt;4- Hybrid Theory (401 plays) [Linkin Park]&lt;br /&gt;5(t)- Absolution (364 plays) [Muse]&lt;br /&gt;5(t)- Three Cheers for Sweet Revenge (346 plays) [My Chemical Romance]&lt;br /&gt;7- Late Registration (350) [Kanye West]&lt;br /&gt;8- Concerto Suite for Electric Guitar and Orchestra in E flat (319 plays) [Yngwie Malmsteen]&lt;br /&gt;9- Rising Force (314 plays) [Yngwie Malmsteen]&lt;br /&gt;10- Like Vines (303 plays) [The Hush Sound]&lt;br /&gt;&lt;br /&gt;*&lt;span style="font-weight: bold;"&gt;IMPORTANT:&lt;/span&gt; The numbers displayed might not (and most likely are not) be correct. This is due to the fact that I often have music playing and for some reason or another Last.fm is not keeping track of this.  This is not Last.fm's fault, but mine since I either choose not to log in or am on a computer that doesn't have (or doesn't support) the software necessary to keep track of played music.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-5125477053422301585?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/5125477053422301585/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=5125477053422301585' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/5125477053422301585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/5125477053422301585'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/01/best-of-2008.html' title='Best of 2008'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-6356817902116363272</id><published>2009-01-03T18:10:00.003-05:00</published><updated>2009-01-03T18:19:54.443-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming Related'/><category scheme='http://www.blogger.com/atom/ns#' term='Math Related'/><title type='text'>Efficient Finals</title><content type='html'>Well I was reading an algorithms book and here is something that was pointed out that I never considered before.&lt;br /&gt;&lt;br /&gt;Assigning times for Final Exams is equivalent to coloring a map.&lt;br /&gt;&lt;br /&gt;How so? Well assume that we only have the following restriction, two finals can not be at the same time if they share at least one student. Now let the classes be the vertices of the graph, and place an edge between any two vertices if they share a student. So basically you assign colors (or times) in a way such that no edge has vertices of the same color.&lt;br /&gt;&lt;br /&gt;Obviously the four color theorem does not apply when coloring this graph. Just consider the case where a student is taking 5 classes. (go and look up to see how this breaks the necessary assumptions for the theorem). None the less it is still an interesting connection, though I am sure Universities do not use this method to schedule their finals (for some obvious reasons).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-6356817902116363272?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/6356817902116363272/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=6356817902116363272' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/6356817902116363272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/6356817902116363272'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2009/01/efficient-finals.html' title='Efficient Finals'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-8758670393378036977</id><published>2008-12-20T00:22:00.006-05:00</published><updated>2008-12-21T18:42:14.809-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming Related'/><title type='text'>Greed</title><content type='html'>Well I didn't manage to completely solve a SPOJ problem today, what a shame.  I managed to think of a method of attack but didn't have the time or motivation to try and code it up or even write pseudo-code.  The problem statement can be found &lt;a href="https://www.spoj.pl/problems/AGGRCOW/"&gt;here&lt;/a&gt;, since I don't want to accidentally leave out any details.&lt;br /&gt;&lt;br /&gt;The method I am going to try combines a binary search and greedy algorithm.&lt;br /&gt;First create a sorted array of all the locations of the stalls, then a second array that will keep track of which stalls have cows. Call these arrays A and B respectively.  Through out my explanation assume that both arrays are always sorted. Now if you only have 2 cows you place them in the extreme left and right stalls, so add these stalls to B.  The general idea is that the best location for cow (N+1) can be built from the best location for cow N.  For example, to add the third cow look at the stall that is "half-way " between the 2 stalls with cows. Is the minimum distance at this point less than if you were to move it left or right by one stall? If so add this stall to B. If not do the same thing by looking at the midpoint of the left and right halves (some case work might be able to be applied to minimize this but I haven't thought about it yet). After doing this you can find the best spot for the third cow. To add the 4th cow look at the "interval" between cows 1 and 3, and the interval between cows 3 and 2, and apply the above method.&lt;br /&gt;&lt;br /&gt;I haven't really considered the time constraint and input sizes but I might be able to get away with a linear search for the best spot (though I doubt it). I suppose that TopCoder article I read on binary search is coming in handy. Well I probably won't be able to work on this again until Tuesday so hopefully I'll be able to work out any "bugs" before I sit down to code.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;*UPDATE:&lt;/span&gt; Well I managed to actually write up the code for this earlier than expected. However, there was a change in how I went about doing it. I instead did a binary search on all the possible distances between the stalls, in order to find the largest possible minimum. Basically given a distance and the number of cows I would perform the following operation;&lt;br /&gt;&lt;br /&gt;bool(stall, distance, cows) //where they are all the appropriate data type&lt;br /&gt;num=1;&lt;br /&gt;prev=stall[0];&lt;br /&gt;for i from 1 to one less than the number of stalls&lt;br /&gt;. if stall[i]-prev is less than distance do nothing&lt;br /&gt;.else prev=stall[i] and increase num by 1&lt;br /&gt;end for loop&lt;br /&gt;return true if num is at least as big as cows, else return false&lt;br /&gt;&lt;br /&gt;This basically tells you the maximum number of cows you can place so that the distance between any 2 is "distance".  So if I remember correctly the possible distances between stalls were between 1 and 1 billion. So the above should only needed to be run no more than 30 times.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-8758670393378036977?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/8758670393378036977/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=8758670393378036977' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8758670393378036977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8758670393378036977'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/12/greed.html' title='Greed'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-3067267128959582318</id><published>2008-12-18T23:06:00.005-05:00</published><updated>2008-12-19T12:47:23.751-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming Related'/><title type='text'>Making a Fence</title><content type='html'>Another day and another SPOJ problem complete ( &lt;a href="http://www.spoj.pl/problems/BSHEEP/"&gt;link to problem&lt;/a&gt;). In this one you had to implement a way to find the convex hull of a given set of points.  This one wasn't that horrible since I already knew a method to perform the desired task. The only problems I encountered were, 1) what do you do about collinear points and 2) what about one and two point sets? Luckily there were examples that covered both of these issues so I adjusted my code accordingly.&lt;br /&gt;&lt;br /&gt;The method I used is known as the Graham Scan. First you find the most lowest point, or furthest left point (I personally like to chose the lowest, but going with the furthest left doesn't really change anything). After this is done you sort the remaining points according to the angle the line connecting them and the lowest point, makes with the x-axis. Then create a stack, and add the first two points (the lowest point and the one with the smallest angel measure). I should clarify that this is not actually a stack since we will need the ability to access both the top and second elements. What you do next is easier to explain with pseudo-code in my opinion at least so here it is:&lt;br /&gt;&lt;br /&gt;for i=3 to the size of P //P is the collection of points&lt;br /&gt;.  while stack.size&gt;=2 and cross(stack.second, stack.top, P[i])&lt;=0)&lt;br /&gt; ..  s.pop //remove the top element&lt;br /&gt; . s.push(P[i])&lt;br /&gt;&lt;br /&gt; Basically if a right turn is made (cross product less than 0) or collinear points (cross product equal to 0) the point at the top of the stack is not part of the convex hull. If you don't follow draw some points, if you ever make a "right turn" you are moving "out" and thus it is more efficient to not consider the point at where you turned right. (hope that helped).  &lt;span style="font-weight: bold; font-style: italic;"&gt;Supplementary stuff:&lt;/span&gt; This could be improved by first finding the points with the largest and smallest x and y coordinates. These four points will form a quadrilateral (assuming you have at least 4 points that is), if any point is inside this quadrilateral it is clearly not part of the convex hull, so you only need to consider the remaining points. I would like to get around to adding this to my code by I am a little stuck at finding a way to determine if a point is in the quadrilateral or not.&lt;br /&gt;&lt;br /&gt;In case you were wondering this is a O(n*log n) algorithm.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-3067267128959582318?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/3067267128959582318/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=3067267128959582318' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/3067267128959582318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/3067267128959582318'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/12/making-fence.html' title='Making a Fence'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-805561250882446050</id><published>2008-12-17T22:38:00.004-05:00</published><updated>2008-12-17T23:01:04.765-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming Related'/><title type='text'>Minimum Spanning Tree</title><content type='html'>While online I realized that I visit the same sites on a regular basis.  So I decided to look through my bookmarks to see what sites I haven't visited in a while.  Hey look what I found, SPOJ.  Why not try to solve as many problems as I can over this break? I already have bookmarked a few problems I have found to be particularly interesting or will make me implement an algorithm I know but have not coded before.&lt;br /&gt;&lt;br /&gt;Well I decided to start with a problem where I was asked to find the minimum spanning tree of a given graph.  This falls under the "found to be interesting" category.  After thinking about it for a while &lt;a href="http://en.wikipedia.org/wiki/Dijkstra%27s_algorithm"&gt;Dijkstra's Algorithm&lt;/a&gt; came to mind, and I said "instead of adding the vertex that has the shortest path to the starting point, why don't I just add the smallest weight?" So I wrote a program to solve the problem this way, with out caring about how efficiency.  Then testing it against the example they gave I saw that it worked.  So now time to do some improvements, but first to look around the internet (aka Wikipedia) to see what other attacks there are that I might not have considered.&lt;br /&gt;&lt;br /&gt;Turns out that the method I though of is known as &lt;a href="http://en.wikipedia.org/wiki/Prim%27s_algorithm"&gt;Prim's Algorithm&lt;/a&gt;. Unfortunately the pseudo-code that Wikipedia provided was difficult to follow, but luckily I didn't have to search hard for a site with pseudo-code I could understand.  However, there is one thing I still don't understand. Each of the sites mentions how you can put the edges into a heap to help make searching faster.  First I don't see how this helps and second how does one decide how one edge comes before another in the heap? Well I guess I'll have more time to consider this.&lt;br /&gt;&lt;br /&gt;Here is my implementation of the algorithm, I believe it runs in O(EV) time. Sorry for the horrible formatting, I really wish that blogger would just not auto-format stuff the way MSWord does, so annoying.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;void mst(vector&lt;tpl&gt;&amp;amp;E,int N)&lt;br /&gt;{&lt;br /&gt;vector&lt;bool&gt; found(N+1,false);//vector of already solved vertices&lt;br /&gt;found[0]=found[1]=true;&lt;br /&gt;long long wgt=0;//total weight&lt;br /&gt;tpl temp=tpl(-1,-1,-1);&lt;br /&gt;&lt;br /&gt;while(N-1&gt;0)&lt;br /&gt;{&lt;br /&gt;   vector&lt;tpl&gt;::iterator II=E.begin();&lt;br /&gt;   int sh=2000000;&lt;br /&gt;   for(vector&lt;tpl&gt;::iterator I=E.begin();I!=E.end();++I)&lt;br /&gt;   {&lt;br /&gt;       tpl R=*I;&lt;br /&gt;       if(found[R.first]==true &amp;amp;&amp;amp; found[R.second]==false)&lt;br /&gt;       {&lt;br /&gt;               sh=R.third;&lt;br /&gt;               temp=R;&lt;br /&gt;               II=I;&lt;br /&gt;               break;&lt;br /&gt; &lt;br /&gt;       }&lt;br /&gt;       else if(found[R.first]==false &amp;amp;&amp;amp; found[R.second]==true)&lt;br /&gt;       {&lt;br /&gt;               sh=R.third;&lt;br /&gt;               temp=R;&lt;br /&gt;               II=I;&lt;br /&gt;               break;&lt;br /&gt;       }&lt;br /&gt;   }&lt;br /&gt;   N--;&lt;br /&gt;   found[temp.first]=found[temp.second]=true;//another vertex has been solved for&lt;br /&gt;   wgt+=temp.third;//update total weight&lt;br /&gt;   E.erase(II);&lt;br /&gt;   print(found);//print found vertices, used to debug&lt;br /&gt;}&lt;br /&gt;printf("%ull\n",wgt);&lt;br /&gt;}&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-805561250882446050?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/805561250882446050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=805561250882446050' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/805561250882446050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/805561250882446050'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/12/minimum-spanning-tree.html' title='Minimum Spanning Tree'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-8138948817079976450</id><published>2008-12-12T16:16:00.005-05:00</published><updated>2008-12-12T23:04:19.999-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life Events'/><title type='text'>Another Semester Down</title><content type='html'>Finally this semester is over.  Not that I didn't enjoy it but the classes didn't provide me with enough of a challenge. I don't see too much changing next semester but you never know.  I don't see any reason for not making all As since I pretty much destroyed every test and project. Well here's the expected break down of each class.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CIS 3020&lt;/span&gt;: Quite uninteresting. All the object oriented stuff we learned in class I already knew, and that was because I spent about an hour reading the OO portion of a C++ tutorial.  The lab sessions were quite useful since you actually learned concept, thank god for graduate students.  The two things I got out of this were learning some Java and finally switching over to Linux (as far as my laptop, I still have to get around to putting it onto my desktop).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Fourier Analysis:&lt;/span&gt; Worst mistake ever. Easy class, but so uninteresting. I was expecting a theoretical approach to the topic, or at least an applied one where theorems were stated and then proofs sketched. However, what I got was "here is what a fourier series is, now here is what MATLAB can do". Needless to say I didn't really learn anything I would consider worthwhile.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Numerical Analysis:&lt;/span&gt;  Seemed like a computational approach to linear algebra.  Though the class did make us use MATLAB he would explain where the equations and algorithms came from before showing how to perform them in MATLAB. Overall could have been a better class but I guess I was expecting too much since I had already started reading a Numerical Analysis book a few years ago.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Modern Analysis:&lt;/span&gt; Good review of what I did all last year in Adv. Calc.  The problems he assigned were pretty interesting and required some thought, but nothing to the point where you would be banging your head on a desk two hours before the assignment was due. He's a pretty cool guy and an amazing teacher. The phrases of the semester were "blindingly obvious" and "it's easy", so as you can imagine we had some fun with those.  OH before I forget he has agreed to be my faculty adviser (or whatever it's called) for my honors thesis. So after the second semester of the course we will get together to discuss thesis topics; looking forward to it.&lt;br /&gt;&lt;br /&gt;On a non academic side, today I found out that I was chosen to go through the selection process for an NSA internship.  Hope everything goes well and I am chosen, this is honestly my dream internship.&lt;br /&gt;&lt;br /&gt;Also if you have lots of time to waste here is a really good site, though I warn you there are a lot of graphs.&lt;br /&gt;&lt;a href="http://graphjam.com/"&gt;Procrastinate&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-8138948817079976450?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/8138948817079976450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=8138948817079976450' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8138948817079976450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8138948817079976450'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/12/another-semester-down.html' title='Another Semester Down'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-8763850859738964993</id><published>2008-12-04T23:13:00.000-05:00</published><updated>2008-12-04T23:14:22.155-05:00</updated><title type='text'>Steven A. Smith on Burress</title><content type='html'>&lt;a style="left: 211px ! important; top: -3px ! important;" title="Click here to block this object with Adblock Plus" class="abp-objtab-0897024932755217 visible" href="http://www.youtube.com/v/bESJz_Naqlw&amp;amp;hl=en&amp;amp;fs=1"&gt;&lt;/a&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/bESJz_Naqlw&amp;amp;hl=en&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/bESJz_Naqlw&amp;amp;hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;What more is there to be said.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-8763850859738964993?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/8763850859738964993/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=8763850859738964993' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8763850859738964993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8763850859738964993'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/12/steven-smith-on-burress.html' title='Steven A. Smith on Burress'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-2760480361600871762</id><published>2008-11-29T13:13:00.002-05:00</published><updated>2008-11-29T13:25:41.211-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming Related'/><category scheme='http://www.blogger.com/atom/ns#' term='Life Events'/><title type='text'>Oh Java</title><content type='html'>Well I have been doing a project in Java (obviously not my choice, I would rather be using C++). I have started to get annoyed with how verbose Java can be at times. For instance say you have two string, string1 and string2, and you wanted to see if they were the same; instead of just typing string1 == string2 like you would be able to in C++ you have to type string1.equals(string2).  I should note that string1 == string2 is allowed in Java but it checks to see if the two objects point to the same location in memory, and in most cases this is not what you want to check. But check this out, apparently if you want to compare two characters using the == operator is perfectly fine, gosh Java just make up your mind already.  Well that's enough Java bashing for a while, I suppose that I just prefer C++ because it is what I learned first and have been using for much longer. I will admit though that Java does have its upsides (this will be left for another post).&lt;br /&gt;&lt;br /&gt;The other day I got around to wondering why I never needed to defragment. the drive with Linux. I have just had people tell me this and have read it online but never actually got around to seeing why. So I got on Google did a quick search and found my answer, and was quite pleased with the result. Here is a &lt;a href="http://geekblog.oneandoneis2.org/index.php/2006/08/17/why_doesn_t_linux_need_defragmenting"&gt;link&lt;/a&gt; to probably the easiest explanation to follow. After reading that article I saw on the page a link to something about how to "properly delete files", something I have always wondered about and now was just as good a time as any to read about it. I won't go into it too much here, but when you just hit the delete button it is similar to just deleting the pointer that tells you where the information is stored and not the information itself. If you want a better explanation and information on how to "delete" the information just follow this &lt;a href="http://geekblog.oneandoneis2.org/index.php/2007/01/04/why_deleting_just_isn_t_enough"&gt;link&lt;/a&gt; (you will see why I put delete in quotation marks once you read the article/post).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-2760480361600871762?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/2760480361600871762/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=2760480361600871762' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/2760480361600871762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/2760480361600871762'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/11/oh-java.html' title='Oh Java'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-1352366340816882538</id><published>2008-11-28T01:20:00.002-05:00</published><updated>2008-11-28T01:22:38.244-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Humor'/><title type='text'>Why Teachers Weep</title><content type='html'>This is not mine but I found it to be quite funny and true at the same time.  I am glad that I am finally in classes where students are honestly interested in learning the material and not so much about knowing just what will be on the test.&lt;br /&gt;&lt;br /&gt;&lt;blockquote style="font-style: italic;"&gt;Then Jesus took his disciples up on the mountain and gathered them around Him. And He taught them, saying: "Blessed are the poor in spirit, Blessed are the meek, Blessed are the merciful, Blessed are you who thirst for justice, Blessed are you who are persecuted, Blessed are the peacemakers...&lt;br /&gt;&lt;br /&gt;And Simon Peter said, "Do we have to write this stuff down?"&lt;br /&gt;&lt;br /&gt;And Phillip said, "Will this be on the test?"&lt;br /&gt;&lt;br /&gt;And John said, "I'm sorry. Would you mind repeating that?"&lt;br /&gt;&lt;br /&gt;And Andrew said, "John the Baptist's disciples don't have to learn this stuff!"&lt;br /&gt;&lt;br /&gt;And Matthew said, "Huh?"&lt;br /&gt;&lt;br /&gt;And Judas said, "What does this have to do with real life?"&lt;br /&gt;&lt;br /&gt;Then, one of the Pharisees, an expert in the law said, "I don't see any of this in your syllabus. Do you have a lesson plan? Is there a summary? Where is the student guide? Will there be any follow-up assignments? How will this affect the bell curve?"&lt;br /&gt;&lt;br /&gt;And Thomas, who had missed the sermon, came to Jesus privately and said, "Did we do anything important yesterday?"&lt;br /&gt;&lt;br /&gt;And Jesus wept.&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-1352366340816882538?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/1352366340816882538/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=1352366340816882538' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/1352366340816882538'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/1352366340816882538'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/11/why-teachers-weep.html' title='Why Teachers Weep'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-1550079657828777338</id><published>2008-11-27T17:27:00.002-05:00</published><updated>2008-11-27T17:29:54.437-05:00</updated><title type='text'>A Follow up on Amendment 2</title><content type='html'>Now this article from isn't about Florida but it is about the same topic so in my opinion it is just as good.&lt;br /&gt;&lt;br /&gt;Here is a &lt;a href="http://swampland.blogs.time.com/2008/11/26/feminism-and-the-3-arguments-against-gay-marriage/"&gt;link to the article&lt;/a&gt;, please actually take the time to read it and the links that it sends you to.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-1550079657828777338?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/1550079657828777338/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=1550079657828777338' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/1550079657828777338'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/1550079657828777338'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/11/follow-up-on-amendment-2.html' title='A Follow up on Amendment 2'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-3641222701477767507</id><published>2008-11-26T21:49:00.002-05:00</published><updated>2008-11-26T21:52:06.777-05:00</updated><title type='text'>Intermediate Value Theorem</title><content type='html'>Well I have stared looking over some analysis problems in preparation for the Putnam exam. Though I will admit I have not prepared as much this year as I have in the past, or would have like to.&lt;br /&gt;Well here are some of the &lt;a href="http://putnam120.wordpress.com/2008/11/25/some-problems-involving-ivt/"&gt;problems&lt;/a&gt; I have worked on, none of them are particularly difficult but they make you think for a few seconds.&lt;br /&gt;&lt;br /&gt;Here are the &lt;a href="http://putnam120.wordpress.com/2008/11/26/solutions-to-ivt-problems/"&gt;solutions&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-3641222701477767507?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/3641222701477767507/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=3641222701477767507' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/3641222701477767507'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/3641222701477767507'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/11/intermediate-value-theorem.html' title='Intermediate Value Theorem'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-8597570708923054258</id><published>2008-11-22T15:47:00.002-05:00</published><updated>2008-11-22T15:48:30.975-05:00</updated><title type='text'>Integral Test</title><content type='html'>Here is my post on the integral test. The post is located at my WordPress blog.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://putnam120.wordpress.com/2008/11/22/integral-test/"&gt;Integral Test&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-8597570708923054258?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/8597570708923054258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=8597570708923054258' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8597570708923054258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8597570708923054258'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/11/integral-test.html' title='Integral Test'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-4437132077204231978</id><published>2008-11-22T14:45:00.002-05:00</published><updated>2008-11-22T14:52:39.614-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Math Related'/><category scheme='http://www.blogger.com/atom/ns#' term='Life Events'/><title type='text'>IMPORTANT NEWS</title><content type='html'>Well for unknown reasons (well not totally unknown) I can no longer use LaTex on this blog. I did look up ways to get this back but ran into a few problems. Most of the solutions only worked for Unix like systems, and I would like to be able to use LaTex on the blog even if I was on a Windows machine. Also most of these solutions would have required me to add another version of Tex to my linux system and I didn't really want to do that.  There was however, one solution that would work with all systems (supposedly). All I had to do was edit the source code for a GreaseMonkey script, but after doing that I was still running into the same issues as before so I quickly gave up on that dead end.&lt;br /&gt;&lt;br /&gt;I will still be using this blog but whenever I want to post anything mathematically related I shall post a link to my WordPress blog in the post. The reason I am using WordPress is becasuse it has LaTex built in and thus less work on my part.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-4437132077204231978?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/4437132077204231978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=4437132077204231978' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/4437132077204231978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/4437132077204231978'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/11/important-news.html' title='IMPORTANT NEWS'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-5810402027252440812</id><published>2008-11-15T23:40:00.002-05:00</published><updated>2008-11-16T00:07:33.535-05:00</updated><title type='text'>Welcome Home Steve Spurrier</title><content type='html'>Well I finally went to a UF football game.  I was pretty much forced into it by Veronica and Juliana. Really it wasn't a bad choice for a first game really, UF was playing USC (South Carolina, not Southern Cal), so I got to see Steve Spurrier.&lt;br /&gt;&lt;br /&gt;We had pretty good seats for the game, right behind the band. I admit it was quite the experience, though not all that people have talked it up to being. The game itself was not really worth it since it was a blow out (56-6 UF) and really who want's to watch that?&lt;br /&gt;&lt;br /&gt;The half time show...oh how I miss half time at FAMU games, and that is all I have to say about that.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Before:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://i.a.cnn.net/si/2004/writers/mike_fish/10/26/spurrier/p1_spurrier_all.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 300px; height: 403px;" src="http://i.a.cnn.net/si/2004/writers/mike_fish/10/26/spurrier/p1_spurrier_all.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.sectalkonline.com/wp-content/uploads/2007/11/Steve_Spurrier_080.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 300px; height: 491px;" src="http://www.sectalkonline.com/wp-content/uploads/2007/11/Steve_Spurrier_080.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-5810402027252440812?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/5810402027252440812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=5810402027252440812' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/5810402027252440812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/5810402027252440812'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/11/welcome-home-steve-spurrier.html' title='Welcome Home Steve Spurrier'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-4984523165291267047</id><published>2008-11-05T23:41:00.002-05:00</published><updated>2008-11-06T00:03:09.554-05:00</updated><title type='text'>Amendment 2</title><content type='html'>Sometimes I am just shocked at how closed minded and "selfish" Americans (in this particular case Floridians) can be. Look at the title, if you don't know what I'm talking about follow this &lt;a href="http://en.wikipedia.org/wiki/Florida_Amendment_2_%282008%29"&gt;link&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Below is what one of my friends had to say about this topic. I would have to agree with him 100%, yes even the willingness to leave America and live somewhere else.&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;It is not often enough that something happens in this country that makes me ashamed to be a part of it. However, there has been a growing trend which has stopped me dead in my tracks. With the recent Florida elections, I have witnessed first hand the bigotry that continues to permeate our society.&lt;br /&gt;&lt;br /&gt;I am speaking of course about the Florida Constitutional Amendment number 2. This amendment passed on November 4th, and it prohibited homosexual marriage and stripped rights from a domestic partnership. For those of you who are ignorant on the subject, domestic partnership has not been an exclusively or even predominantly homosexual union. It is merely what the name says. Two beings entering in a legal partnership in order to relieve stress of financial situations among many other things. Now, domestic partnerships across Florida have been reduced to a mere shadow of the benefits a man and a woman may have by being legally married.&lt;br /&gt;&lt;br /&gt;This ignorance is gut wrenching. Imagine a similar amendment, one which prohibited interracial marriage. That's right Florida, let's all vote on whether our constitution says I can marry a black woman. Such a proposition would be met with instant hostility and cries of overwhelming racism. Hell, lets take it one step further. Black people can't marry. Period. There is no alternative to give them equal status of being "married". By the simple fact that they were born black, they are denied the rights which are extended to another race.&lt;br /&gt;&lt;br /&gt;If you think there is a fundamental difference between those two examples and amendment 2, you are blinder than I ever thought my friends could be.&lt;br /&gt;&lt;br /&gt;There is no excuse for this. There is no justification. This, and the progression of 29 other US states is fueled by nothing but sheer bigotry towards homosexual people. In the process, states such as Florida have crippled many non-homosexual partnerships, all in the name of preserving the American family.&lt;br /&gt;&lt;br /&gt;I cannot and I will not tolerate this. My desire to complete my education keeps me in the US, but I vow that if such blind hatred continues to be entwined into the very constitutions of the states that make up this nation, I will be leaving. I love America, and I have always thought how lucky I was to live in a nation that was for the most part, better off than most others. But this is not an issue I will compromise.&lt;br /&gt;&lt;br /&gt;Normally, I would be open for debate on an issue, but I'm afraid I am making an exception to this. I am not gay, and honestly this decision will probably never affect my personal life. It is the principle itself which is evil. If you think this could have been defended by saying that the domestic partnership was abusable, then I counter with allowing homosexuals an equal equivalent to marriage. If you counter with marriage only being between a man and a woman by decree of God, I will counter with an absolute declaration of your stupidity.&lt;br /&gt;&lt;br /&gt;My only salvation is to hope that in the future, children will read about this is textbooks, much as we read about the injustices against black people in America and their faces will be filled with shock. Shock that at one point in the not so distant past, their country, their grandfathers and grandmothers, could have believed in such bullshit.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Also I would like to mention that I am not gay and just like my friend this will most likely not affect me in my life. But it is the principle of the matter, who gave the government to power to say that marriage is the union of one man and one women? Some people will say something like "...it's in the bible...", well I am still waiting for someone to actually show it to me. Also since when was the bible the doctrine that governed this country? The bible also says to turn the other cheek...and yet we are in a war over a particular even that happened a few years ago. So don't tell me that we are a "Christian nation", because being a Christian is about more than just reading the bible, you also have to follow the lifestyle, and so far this country isn't doing a very good job. Yes I know that homosexuality is looked down upon by the bible (this I have actually read and/or been shown) but so are the 2 commandments Jesus gave us (for crying out loud he cut the 10 down to 2, at least have the decency to try and follow them both). Here they are, "The first commandment is this: Hear, O Israel: The Lord our God is the only Lord. Love the Lord your God with all your hear, with all your soul, and with all your mind, and with all your strength. The second is this: Love your neighbor as yourself. There is no other commandment greater than these." (Mark 12:29 if you need a reference). Now I don't know about the first one, but this Amendment surely goes against the second.&lt;br /&gt;&lt;br /&gt;I shall leave you with the following quote, and if you don't see how it relates then I truly do feel sorry for you.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-style: italic;"&gt;If mankind minus one were of one opinion, then mankind is no more justified in silencing the one than the one - if he had the power - would be justified in silencing mankind.&lt;/span&gt;&lt;br /&gt;- John Stuart Mill&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-4984523165291267047?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/4984523165291267047/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=4984523165291267047' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/4984523165291267047'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/4984523165291267047'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/11/amendment-2.html' title='Amendment 2'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-3677950392530465325</id><published>2008-11-02T16:24:00.004-05:00</published><updated>2008-11-02T17:46:27.621-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life Events'/><title type='text'>Minor Incidents</title><content type='html'>Well I have decided to tag a Computer Science minor to go along with my Mathematics major.  After this semester is over I will only have 4 more CS classes to take before I have completed the minor, this basically comes down to 1.3333... CS classes per semester.  The classes I have to take are; Applications of Discrete Structures, Intro. to Computer Organization, Data Structures and Algorithms, and Operating Systems. Due to prerequisites I will be taking the fist two next semester, then Data Structures fall of next year, and finally OS my last semester (because this seems to be the most difficult of the 4 and I would rather not to have to worry about it while working on graduate school applications).&lt;br /&gt;&lt;br /&gt;I came to this decision after realizing that there weren't any outside of major classes that interested me, other than Economics, Finance, or CS. Honestly, I find all these disciplines to be just as interesting and rewarding.  However, what made me choose CS was the kinds of people that would be in the classes. In my experience most of the people in the Economics or Finance classes don't seem to have any interest in the subject and are only there because they have to take it for the major. In addition they constantly complain about the work and other consequential details about the class.  While the CS majors are very adamant about their classes and willing to learn. Also there isn't as much complaining about the class (unless it is to say that they aren't learning enough or that it's not challenging enough).&lt;br /&gt;&lt;br /&gt;In addition to the above issues there are some other personal "problems".  Now that I think about it problems really isn't the most appropriate phrase to use. Here is the general overview: A little while ago (2-3months) stopped talking to one of my friends because I felt used. A few days ago I was pretty bored and lonely (most everyone I knew was out of town) and I considered giving them a call. After thinking about it I didn't mainly because I would feel that I was using them, and that's just something I refuse to do, even to someone I no longer care about. Well I care about them but it is basically at the same level I care about a complete stranger. The day after this happened I talked to one of my friends and basically what I remember from the conversation was this, "...you will constantly be filtering people in and out of your life. It sucks at time but it is just something you have to learn to accept."&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-3677950392530465325?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/3677950392530465325/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=3677950392530465325' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/3677950392530465325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/3677950392530465325'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/11/minor-incidents.html' title='Minor Incidents'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-9022864406011617848</id><published>2008-10-27T22:58:00.002-04:00</published><updated>2008-10-27T23:06:21.623-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming Related'/><category scheme='http://www.blogger.com/atom/ns#' term='Life Events'/><title type='text'>Homecoming Weekend</title><content type='html'>Well I was not on campus, as a matter of fact I wasn't even in Gainesville, for homecoming this year.  Instead I was attending the ACM ICPC Southeast Regional (a programming competition for college students). We took four different teams this year. It was my first time going and I didn't do all that well on the placement test so as a result I ended up on the 4th team. At the competition we managed to answer 3 of the 10 questions and finished 21st out of abut 62 teams. Also we beat the 3rd team. Our school's first team answered 5 questions and got 2nd place (the fist place team also answered 5 questions), while our 2nd team answered 4 question and I am sure that they were in the top 10. Overall I believe that we did very well, considering we were with out the aid of the C++ STL and Java API refernce sites which we were promised.&lt;br /&gt;Any case, it is time to prepare for next year's competition. My goal is to be on the fist team and get 1st place.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-9022864406011617848?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/9022864406011617848/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=9022864406011617848' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/9022864406011617848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/9022864406011617848'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/10/homecoming-weekend.html' title='Homecoming Weekend'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-7182749564610073588</id><published>2008-10-19T01:03:00.003-04:00</published><updated>2008-10-19T01:24:46.066-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming Related'/><category scheme='http://www.blogger.com/atom/ns#' term='Life Events'/><title type='text'>Comfortable in an Open World</title><content type='html'>Now when I use my laptop I mostly boot into Ubuntu Hardy (8.04).  The only time I boot into Windows Vista (which I still think is a better OS than XP) is when I need to use MATLAB. However, this is becoming more of a rarity since I have started using Octave and have become quite comfortable with its interface.  In addition I find that compiling and running programs is much easier under Ubuntu. I suppose I could set it so that it is just as easy under Vista but that would require some work. All of the applications I use on Ubuntu are Open Source, with the exception of Adobe, and this is only because I find that it is considerably better than any of the Open Source aternatives I have found thus far.  I used to have WINE installed but removed it once I realized that I had no need for it sicne it could not install MATLAB and I'm not much of a gamer so really everything I need can be done with Linux compatable programs.&lt;br /&gt;&lt;br /&gt;As far as programming goes I have started using Java. It isn't that difficult to pick up since I know C/C++ it just takes a little getting used to.  I might go back and try to convert some of the solutions I did for SPOJ problems and convert them to solutions in Java (they are all in C++). Learning a new language really can't hurt since there are some problems I see and am like "I know how to do that but I can't fit the necessary data into as a long long (64 bits) is C++, if only I could use Java's BigInteger."&lt;br /&gt;&lt;br /&gt;Next week is the South East Regional Programming Competiton for ACM.  Wish me luck.  I feel pretty prepared, I have a grasp of most of the basic algorithms we coverd. It is just coming up with the correct data structures to use that is giving me problems now, but that should soon be fixed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-7182749564610073588?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/7182749564610073588/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=7182749564610073588' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/7182749564610073588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/7182749564610073588'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/10/comfortable-in-open-world.html' title='Comfortable in an Open World'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-8298753057714977933</id><published>2008-10-02T00:00:00.000-04:00</published><updated>2008-10-02T00:34:58.977-04:00</updated><title type='text'>Post 100 and about 900 days later</title><content type='html'>Well this is post #100.&lt;br /&gt;Unlike other post this one will be dedicated to someone (you will know who you are after reading).&lt;br /&gt;&lt;br /&gt;I know you have done nothing to deserve what I am doing (well that's not entirely true but this isn't the place to discuss that). I just want you to know that it was a wonderful 3 years and a portion of my life I will not easily remove from my memory. In that time you became one of my best friends, if not the best friend. But that isn't enough for me anymore so I am saying goodbye.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-8298753057714977933?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8298753057714977933'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8298753057714977933'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/10/post-100-and-about-900-days-later.html' title='Post 100 and about 900 days later'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-7366693548531500909</id><published>2008-09-26T09:00:00.002-04:00</published><updated>2008-09-26T09:00:00.095-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life Events'/><title type='text'>Blinded</title><content type='html'>First I would like to mention that the generalized statement in my previous post is incorrect. I shall in the coming days post the correct version with proof. Now for the real post.&lt;br /&gt;------------&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Without you in my life, brightening the days&lt;br /&gt;I might as well be blind, crawling in the dark&lt;br /&gt;Searching for a light switch I'll never find&lt;br /&gt;&lt;br /&gt;But there you are&lt;br /&gt;And it's like God said, "Let there be light"&lt;br /&gt;No, more like&lt;br /&gt;"Let there be [her name]"&lt;br /&gt;&lt;br /&gt;And now I'm obsessed&lt;br /&gt;I might as well be blind&lt;br /&gt;Because all I see is you&lt;br /&gt;But that's alright by me&lt;br /&gt;Since with you there what else is worth looking at?&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-7366693548531500909?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/7366693548531500909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=7366693548531500909' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/7366693548531500909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/7366693548531500909'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/09/blinded.html' title='Blinded'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-1692228171066523792</id><published>2008-09-21T03:30:00.002-04:00</published><updated>2008-09-21T03:39:12.706-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming Related'/><category scheme='http://www.blogger.com/atom/ns#' term='Math Related'/><category scheme='http://www.blogger.com/atom/ns#' term='Life Events'/><title type='text'>I Have Wireless</title><content type='html'>So I have finally managed to get my wireless card working with Ubuntu 8.04.  You have no idea how happy I am about this. I have been wanting to really give Ubuntu a try but have always been reluctant to because of the fact that it wouldn't work with my wireless card and I would need an ethernet cable in order to connect to the internet.  Now I know this happiness will not be too long lived because once I update to the next version of Ubuntu (which in my case will probably be 9.04 and not 8.10) I will most likely have to go through the same process again and hope that it still works on the new version.&lt;br /&gt;&lt;br /&gt;On a more "depressing" note; I managed to finish only half of one my my 5 analysis homework problems. They all seem to be about connected sets. One of the funny things is that in Rundin for a set to be connected it must not be able to be written as the union of two separated sets. However, on Wikipedia, Mathworl, and one of my other analysis text they also say that the separated sets must be open sets. Now I know that if two open sets are disjoint they are separated so I don't see the real need for this extra assumption.  In any case the problem I managed to solve was as follows.&lt;br /&gt;&lt;br /&gt;Let A and B be two connected subsets of a metric space X. Show that is A and B have nonempty intersection then their union is also connected.&lt;br /&gt;&lt;br /&gt;The second half of the problem asked us to state and prove a generalized version of this for the union of arbitrary connected sets. I came up with:&lt;br /&gt;&lt;br /&gt;Let {A} be collection of connected sets. If for each F in {A} there exist a G in {A} such that the intersection of F and G is nonempty then the union of all the members of {A} is a connected set.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-1692228171066523792?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/1692228171066523792/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=1692228171066523792' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/1692228171066523792'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/1692228171066523792'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/09/i-have-wireless.html' title='I Have Wireless'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-5464515684356094987</id><published>2008-09-13T22:18:00.003-04:00</published><updated>2008-09-13T22:33:42.603-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming Related'/><category scheme='http://www.blogger.com/atom/ns#' term='Life Events'/><title type='text'>Voting and Coding</title><content type='html'>Well as the title indicates, this post will be mainly about two thing; voting and coding.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Voting:&lt;/span&gt;&lt;br /&gt;Don't you just find it a little discouraging that when you turn 18 you are finally able to vote and be drafted into the military (assuming you are male). What really bothers me about this isn't so much the service aspect but rather the fact that when I turned 18 I was sent a card saying that I had registered for the selective service. Now I don't remember doing a damn thing for this, I'm not complaining, but still. On the other hand when I wanted to register to vote I had to go out of my way in order to do so.  And you wonder why so few young people decide to vote. It's viewed as a burden, I mean if they can register for the service on their own they sure as hell can register you to vote, even if it's as an independent and then you have to go and change your party affiliation if you so desire.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Coding:&lt;/span&gt;&lt;br /&gt;This year I think I am going to take programming team practices a little more seriously. I guess it is because now I know that in most competitions I will be able to solve about one or two problems "easily". However, I would like to be able to do more and in order to accomplish this goal I will have to learn more algorithms (or at least the thought process behind them). At the most recent practice I learned a pretty efficient algorithm for finding the longest common substring between two strings. Before seeing the algorithm I would have been able to do this problem but my method would have been very inefficient and complicated to code.&lt;br /&gt;Also I have finally found a blank CD for me to make a Linux boot CD. I am going to install Ubuntu on my portable hard drive instead of partitioning the hard drive on my desktop or laptop. I really don't have a problem with having Ubuntu being the main OS on my laptop but I am not sure how to go about installing MatLab on that system so I am going to avoid the potential problems. Also one of my classes works primarally in a Linux environment so having Linux on my comptuer will make things easier (although I could still do most if not all of the work under Windows if I really wanted to).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-5464515684356094987?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/5464515684356094987/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=5464515684356094987' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/5464515684356094987'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/5464515684356094987'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/09/voting-and-coding.html' title='Voting and Coding'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-3849185486470873100</id><published>2008-09-11T09:27:00.002-04:00</published><updated>2008-09-11T19:30:39.634-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='News/Article Clips'/><title type='text'>"Low-Tech" But Creative I Must Admit</title><content type='html'>Just another thing you have to worry about in the world. When will people try not get ahead by screwing over others?  Whoever it was that came up with the concept of money must be rolling over in their grave now thanks to all the problems it has caused through out history. I suppose if it wasn't money then it would be something else that would cause people to react in the same fashion.&lt;br /&gt;&lt;br /&gt;Why can't we just go back to the bartering system? You know, when things were simple. I'll admit that this system has its flaws but personally I think that the advantages definitely outshine its pitfalls.&lt;br /&gt;&lt;br /&gt;Well here is the &lt;a href="http://finance.yahoo.com/banking-budgeting/article/105723/Credit-Card-Shaving:-Scammers-Go-Low-Tech-With-Trick"&gt;article&lt;/a&gt; you have been waiting for.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-3849185486470873100?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/3849185486470873100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=3849185486470873100' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/3849185486470873100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/3849185486470873100'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/09/low-tech-but-creative-i-must-admit.html' title='&quot;Low-Tech&quot; But Creative I Must Admit'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-4633066796210001898</id><published>2008-09-10T21:45:00.003-04:00</published><updated>2008-09-11T09:30:02.922-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Humor'/><title type='text'>Just Another Problem With America</title><content type='html'>&lt;blockquote&gt;&lt;/blockquote&gt;&lt;blockquote&gt;A citizen of America will cross the ocean to fight for democracy, but won't cross the street to vote in a national election.&lt;br /&gt;- Bill Vaughan&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;As if I needed more of a reason to vote. This quote is just so depressing but then when it gets worse when you stop to think about it and realize just how true it actually is.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-4633066796210001898?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/4633066796210001898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=4633066796210001898' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/4633066796210001898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/4633066796210001898'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/09/just-another-problem-with-america.html' title='Just Another Problem With America'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-7054809246088888212</id><published>2008-08-15T23:24:00.005-04:00</published><updated>2008-08-20T16:56:58.949-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life Events'/><title type='text'>Shopping Can Actually be Fun</title><content type='html'>Decided to do some last minute back to school shopping.  Really all I needed was a new pair of shoes and a few other minor things.  The only real thing I needed was shoes, everything else I could have bought once I got back to campus, but why not buy now instead of later.&lt;br /&gt;&lt;br /&gt;Since I knew that I needed shoes, the first place we (Ann and I) went was to the shoe section of Sears since I had  seen the shoes I wanted there before.  The shoes I got were Adidas Samba's, I had actually been wanting a pair for the longest while but never got around to actually buying them.  They only came out to be $42.99, and I just happened to have $40.00 cash in my wallet, so I ended up putting the other $2.99 on my credit card, I'm sure that I looked pretty weird.&lt;br /&gt;&lt;br /&gt;After buying the shoes we just walked around the mall for a while before deciding that I could actually buy some more cloths. Really a fun experience, trying on everything and getting a good laugh at how ridiculous I looked or how amazing it was.  The two things that stick out the most are the pink shirt that Ann wanted me to try on even though I told her that I would not buy it. I must admit though that it didn't look all that bad, however, I stand by my decision to not buy it.  Then there was this set of brown shorts with white vertical lines, and another set of brown pants.  Both were too big so I didn't have to put up much of a fight as to why I wasn't going to buy them.  After all of this I just ended up buying a white button down shirts with grayish vertical stripes/lines.   &lt;br /&gt;&lt;br /&gt;This might not seem all that interesting to most of you but to the parties in attendance it was quite the memorable day.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-7054809246088888212?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/7054809246088888212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=7054809246088888212' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/7054809246088888212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/7054809246088888212'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/08/shopping-can-actually-be-fun.html' title='Shopping Can Actually be Fun'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-217640878808343882</id><published>2008-08-11T23:25:00.005-04:00</published><updated>2008-08-15T23:23:59.457-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life Events'/><title type='text'>Time Flies</title><content type='html'>Last night before going to bed I was talking to one of my friends on AIM.  I hadn't spoken to them in a while so most of the conversation was about what we each had been up to for the summer.  However, we managed to move to a totally unrelated topic and some of their comments left me just a little depressed. So I did what I normally do when this happens, I end the conversation, put up a witty away message and then go to bed.&lt;br /&gt;&lt;br /&gt;Wham! I feel better in the morning and it's like the event never happened. Also when I woke up I was thinking about another math problem (similar to #2 in the previous post). After sitting in bed for a while reflecting on last night's conversation and trying to come up with a proof for this problem, I decided that it was time to go and eat breakfast. Then a few hours later I went over to Ann's.&lt;br /&gt;&lt;br /&gt;Well I basically spent all day (well really 10.5 hours) with her. We played Guitar Hero 3, something I have so missed from my days in Holland.  I convinced her to start playing on the hard difficulty setting. Things went a lot better for her once she got used to the added button, I think now all she has to work on is "reading" and getting used to the speed. Oh and she also needs to get comfortable with "pull ons and hammer ons".  After the Guitar Hero session we went to get lunch at the same place we went for my birthday (Far East Cuisine I think). Then we basically messed around online until dinner.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-217640878808343882?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/217640878808343882/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=217640878808343882' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/217640878808343882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/217640878808343882'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/08/time-flies.html' title='Time Flies'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-6724462420902758242</id><published>2008-08-10T18:10:00.001-04:00</published><updated>2008-08-10T19:04:46.701-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='News/Article Clips'/><title type='text'>Extracurricular Affairs</title><content type='html'>Well by this time I am sure that just about everyone has heard about the &lt;a href="http://www.nytimes.com/2008/08/09/us/politics/09edwards.html?hp"&gt;John Edwards affair&lt;/a&gt;. If not, or you for some reason want to read more about it, just click on the previous link and it will take you to an article in the New York Times. Now I am not supporting this kind of activity but really why would you put something like this out when your family is in the public eye? To me it just seems like something that you would want to keep between yourself and your spouse. Regardless, what was he thinking? He is married and even has children. Luckily his two youngest children are not that old, so the kids they will interact with most of their lives will not remember this, but it will still be one of those "family secrets" you are ashamed of. As for his oldest child (who is at Harvard Law) good luck to her and dealing with this, since you know people will want to talk to her about it and how she feels.&lt;br /&gt;&lt;br /&gt;Also this not only hurts him and his family but also a certain &lt;a href="http://en.wikipedia.org/wiki/Obama"&gt;democratic candidate&lt;/a&gt; who happens to be running for president.  It also doesn't help that Edwards chose to endorse Obama and not Hillary Clinton. I am sure that the McCain campaign will you this to their advantage when the time is right.&lt;br /&gt;&lt;br /&gt;In any case it seems that democrats seem to take part in "extramarital activities", weather holding office or not. Kennedy, Clinton, and now Edwards, just to name a few. Let's see if (and hopefully not) Obama will keep the tradition good.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-6724462420902758242?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/6724462420902758242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=6724462420902758242' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/6724462420902758242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/6724462420902758242'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/08/extracurricular-affairs.html' title='Extracurricular Affairs'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-3859685058837954233</id><published>2008-08-02T16:57:00.003-04:00</published><updated>2008-08-10T19:20:27.576-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Math Related'/><title type='text'>solution</title><content type='html'>This is the solution for problem #1 in my previous post.&lt;br /&gt;&lt;br /&gt;Let &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cepsilon%20%3E0" align="middle" border="0" /&gt;, since &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5C%7Bp_n%5C%7D" align="middle" border="0" /&gt; is a Cauchy sequence there exist an &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?N_1" align="middle" border="0" /&gt; such that if &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?d%28p_n,p_m%29%3C%5Cfrac%7B%5Cepsilon%7D%7B2%7D" align="middle" border="0" /&gt; if &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?n,m%3EN_1." align="middle" border="0" /&gt; Similarly since a subsequence converges to &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?p" align="middle" border="0" /&gt; we have that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?d%28p,p_%7Bn_i%7D%29%3C%5Cfrac%7B%5Cepsilon%7D%7B2%7D" align="middle" border="0" /&gt; when &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?n_i%3EN_2" align="middle" border="0" /&gt;. Now let &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?N" align="middle" border="0" /&gt; be the larger of &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?N_1" align="middle" border="0" /&gt; and &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?N_2" align="middle" border="0" /&gt;.&lt;br /&gt;&lt;br /&gt;Now &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?d%28p,p_n%29%5Cle%20d%28p,p_%7Bn_i%7D%29+d%28p_%7Bn_i%7D,p_n%29%3C%5Cepsilon" align="middle" border="0" /&gt;.&lt;br /&gt;&lt;br /&gt;Here is the solution for #2 in my previous post (this one took a little longer for me to think of).&lt;br /&gt;&lt;br /&gt;Let &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5C%7Bp_n%5C%7D" align="middle" border="0" /&gt; be a sequence in &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?X" align="middle" border="0" /&gt; such that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?p_n%5Cin%20E_n" align="middle" border="0" /&gt;. Now from properties of &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5C%7BE_n%5C%7D" align="middle" border="0" /&gt; we have that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?p_i%5Cin%20E_j" align="middle" border="0" /&gt; for all &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?j%5Cle%20i." align="middle" border="0" /&gt; Now let &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cepsilon%3E0" align="middle" border="0" /&gt;, and since &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cdisplaystyle%5Clim_%7Bn%5Cto%5Cinfty%7D%5Ctext%7Bdiam%7D%28E_n%29=0" align="middle" border="0" /&gt; we have that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?d%28p_n,p_m%29%3C%5Cepsilon" align="middle" border="0" /&gt; for &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?n,m" align="middle" border="0" /&gt; large enough.  So &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?p_n%5Cto%20p%5Cin%20X" align="middle" border="0" /&gt; since &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?X" align="middle" border="0" /&gt; is complete. Additionally, &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?p" align="middle" border="0" /&gt; is a limit point of each &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?E_n" align="middle" border="0" /&gt;, so &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?p%5Cin%20E_n%20%5Cforall%20n" align="middle" border="0" /&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-3859685058837954233?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/3859685058837954233/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=3859685058837954233' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/3859685058837954233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/3859685058837954233'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/08/solution.html' title='solution'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-5228802444009207872</id><published>2008-07-30T22:24:00.005-04:00</published><updated>2008-08-05T15:53:14.124-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Math Related'/><category scheme='http://www.blogger.com/atom/ns#' term='Life Events'/><title type='text'>From the Integers to Infinite Series</title><content type='html'>In the upcoming fall semester I will be taking the first year graduate analysis class.  Hopefully, this class will be more "rewarding" than the undergraduate analysis sequence I completed last year. The undergraduate sequence was not a total waste of time since I actually did learn some new things, but the class moved so slowly and the test were not all that difficult. I never really had to exert myself in order to obtain my A. As a result in the second semester I tried to get a 100% on every assignment and test. I almost achieved this goal, however, I did not make a small clarification on one of my proof thus resulting in me losing 1 or 2 point for the problem.&lt;br /&gt;&lt;br /&gt;The graduate class will be using the same book as the undergraduate sequence. However, we will hopefully cover all of the sections. Last year the professor would pick and choose which topics he though were necessary and possible for the majority of the class to understand. As a result some of our proofs were longer than needed but I suppose knowing multiple ways to prove something isn't all that bad.&lt;br /&gt;&lt;br /&gt;Right now I am reading through as many chapters as I can and working all the exercises.  My only requirement is that I can only be working on problems from at most two different chapters and that I can only be reading one chapter ahead of the problems I am solving. So basically right now I am working problems from chapter 2 and 3, and reading chapter 4. I am almost done with the problems from chapter 3, but the ones from chapter 2 are going to take a little more time. I suppose that it has to do with the fact that dealing with topology is still a little "new" to me.&lt;br /&gt;&lt;br /&gt;Tomorrow I will hopefully be able to do the following problems:&lt;br /&gt;&lt;br /&gt;1) Suppose &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5C%7Bp_n%5C%7D" align="middle" border="0" /&gt; is a Cauchy sequence in a metric space &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?X" align="middle" border="0" /&gt;, and some subsequence &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5C%7Bp_%7Bn_i%7D%5C%7D" align="middle" border="0" /&gt; converges to a point &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?p%5Cin%7BX%7D" align="middle" border="0" /&gt;. Prove that the full sequence &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5C%7Bp_n%5C%7D" align="middle" border="0" /&gt; converges to &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?p" align="middle" border="0" /&gt;.&lt;br /&gt;2) Let &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5C%7BE_n%5C%7D" align="middle" border="0" /&gt; be a sequence of closed, nonempty, bounded sets in a complete metric space &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?X" align="middle" border="0" /&gt;. Also &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?E_%7Bn+1%7D%5Csubset%20E_n" align="middle" border="0" /&gt; and &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cdisplaystyle%5Clim_%7Bn%5Cto%5Cinfty%7D%20diam%20E_n=0" align="middle" border="0" /&gt;. Prove that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cbigcap_%7Bn=1%7D%5E%5Cinfty%20E_n" align="middle" border="0" /&gt; contains exactly one point.&lt;br /&gt;&lt;br /&gt;I will eventually get around to making a post about my REU in Michigan. Sorry to disappoint, but I just need some more time to better collect my thought on this topic so that I will have a post worth reading.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-5228802444009207872?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/5228802444009207872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=5228802444009207872' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/5228802444009207872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/5228802444009207872'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/07/from-integers-to-infinite-series.html' title='From the Integers to Infinite Series'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-6458261929688772010</id><published>2008-07-14T23:27:00.003-04:00</published><updated>2008-07-20T00:38:09.954-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life Events'/><title type='text'>GIMP</title><content type='html'>Well in my free time I have decided to learn how to use GIMP. For those of you that don't know, GIMP stands for GUI Image Manipulation Program. Basically it is an open source version of Photoshop.&lt;br /&gt;Yesterday I started reading the online manual (which I should probably download to my computer sometime soon) and was somewhat insulted by the simplicity of the first few sections. However, I can see why they are needed. As of now most of what I know to do was discovered by playing around with the program and reading random portions of the manual.&lt;br /&gt;Right now my goal is to be able to create a cool banner for the portion of this blog with the title. I already have a few done but none of them are "amazing" so they are not going to be used. I think the first thing I should find out is the necessary dimensions for the banner.&lt;br /&gt;The program seems pretty straight forward so far, however, I would like to learn how to make manipulations to text.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-6458261929688772010?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/6458261929688772010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=6458261929688772010' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/6458261929688772010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/6458261929688772010'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/07/gimp.html' title='GIMP'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-7670471435146195456</id><published>2008-06-21T11:25:00.007-04:00</published><updated>2008-12-11T16:38:22.486-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life Events'/><title type='text'>Short Computer Post</title><content type='html'>I don't really feel like making a complete post at this point in time so I will post a a few pictures of the new desktop.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This is a shot of it in use. Running programs include: Windows Media Player, Firefox, GoogleTalk, Google Desktop, Trillian, and ObjectDock.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_L0iYbx2zzdM/SF0dlFYTW6I/AAAAAAAAAFM/ig0qHjRWhHc/s1600-h/newdesktopinuse.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_L0iYbx2zzdM/SF0dlFYTW6I/AAAAAAAAAFM/ig0qHjRWhHc/s400/newdesktopinuse.jpg" alt="" id="BLOGGER_PHOTO_ID_5214356466501376930" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;This is a screen shot with all windows minimized or closed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_L0iYbx2zzdM/SF0eHDG8_wI/AAAAAAAAAFU/xXmy3kLz8Zk/s1600-h/newdesktop.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_L0iYbx2zzdM/SF0eHDG8_wI/AAAAAAAAAFU/xXmy3kLz8Zk/s400/newdesktop.jpg" alt="" id="BLOGGER_PHOTO_ID_5214357050007289602" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Finally, in case you were wondering I am running Windows Vista Home Premium. There is no way in hell I would EVER get a Mac or have their OS running on my computer. As a matter of fact I try to avoid all apple products, but sadly I have to use Quicktime Player every no and again. Anyway, I don't know when but I will be trying to dual boot Windows and Luinux sometime in the future.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-7670471435146195456?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/7670471435146195456/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=7670471435146195456' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/7670471435146195456'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/7670471435146195456'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/06/short-computer-post.html' title='Short Computer Post'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_L0iYbx2zzdM/SF0dlFYTW6I/AAAAAAAAAFM/ig0qHjRWhHc/s72-c/newdesktopinuse.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-4090310711198059037</id><published>2008-06-12T23:47:00.001-04:00</published><updated>2008-12-11T16:38:22.702-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Humor'/><title type='text'>A New Take on Purity</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_L0iYbx2zzdM/SFHt3SZTTwI/AAAAAAAAAEc/nPiRuZYi8Vc/s1600-h/xkcd.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_L0iYbx2zzdM/SFHt3SZTTwI/AAAAAAAAAEc/nPiRuZYi8Vc/s400/xkcd.png" alt="" id="BLOGGER_PHOTO_ID_5211207777930923778" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Best xkcd comic strip ever.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-4090310711198059037?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/4090310711198059037/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=4090310711198059037' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/4090310711198059037'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/4090310711198059037'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/06/new-take-on-purity.html' title='A New Take on Purity'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_L0iYbx2zzdM/SFHt3SZTTwI/AAAAAAAAAEc/nPiRuZYi8Vc/s72-c/xkcd.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-749263306534777230</id><published>2008-06-07T21:11:00.002-04:00</published><updated>2008-06-07T21:53:28.486-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Math Related'/><category scheme='http://www.blogger.com/atom/ns#' term='Life Events'/><title type='text'>REU 2008 - Week 1</title><content type='html'>Don't expect an entry for every week of the REU but I figured that the first week was important enough to have its own.&lt;br /&gt;&lt;br /&gt;When I first moved into my apartment I was pleasantly surprised by the size.  My first impression was that it was way too small for four people to live comfortably. However, after spending some time here I quickly realized that I was mistaken.  The roommates are pretty cool, well actually I have only met 2 of them, the last one will be arriving on Monday.  The first one I met had just recently returned from Africa where he was helping install water filtration systems in a village. I don't remember the name of the country but it was a French speaking one. The other roommate is a year younger than me and it kind of shows in ways, mainly when we are working in groups (he is a member of my group in addition to being my roommate).  The three of us that live here so far are all math majors and the one remaining roommate is an engineering major.&lt;br /&gt;&lt;br /&gt;The research is going extremely well.  At the beginning we would "play around" with the problems and find a solution.  Then our mentors (I can't think of a better term for them, I guess advisers works but that makes it seem like we are PhD students) would present us with a paper which contained the result we had just discovered. You would think that this was disheartening but it actually was not.  Having actually come to the conclusion ourselves made reading some of the proofs much easier since we had a better understanding of what they were doing and could relate some of their ideas to our own.  However, we have so far have come across a result which we have not been able to find stated in any paper. I guess you could say we have our first theorem, and it's quite a wonderful feeling. We were surprised by the theorem actually. This is because based on the question we were answering one would expect the result to be complicated. However, it is quite the opposite. When we first saw it we were all skeptical and furiously searched for a counterexample but could not find one. After going through it again we were certain that it was correct. All that is left to do for this finding is to actually write up the proof of the theorem and the necessary lemmas.&lt;br /&gt;&lt;br /&gt;Well I'll keep this one relatively short and end by saying that it seems like I will be going to the beach quite often (even though we have to climb over a "mountain" to get there). So far this week I have gone three different times.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-749263306534777230?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/749263306534777230/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=749263306534777230' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/749263306534777230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/749263306534777230'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/06/reu-2008-week-1.html' title='REU 2008 - Week 1'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-3611992484535498830</id><published>2008-05-29T19:00:00.003-04:00</published><updated>2008-05-30T01:14:24.443-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life Events'/><title type='text'>From  Big to Bigger</title><content type='html'>I would like to start this post off by saying congratulations to all the 2008 graduates; high school, college, graduate school, medical school, etc. it doesn't matter.  The road has been long and hard (some harder than others) but you have finally made it. Looking back on the last four or five (or more in some cases) years, wonderful memories rush to the forefront of you mind at incomprehensible speeds.  Times spent with friends doing "stupid" things, things you regret ever happening but because they did you are a better person. (We all have things we regret it's just a matter of how we deal with it, so I don't want to hear any "I don't have any regrets about my life" bull s**t) So of you will be continuing your education or looking to work in academia, while others will be starting "life". Which ever category you fall into I wish you the best of luck.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A few days ago (May 22nd) I attended my siblings' high school convocation, well actually many of my friends were there but it would take too much time to list them, so I'll just list a few: Ann, Clara, Roland, and Jeremy.  Now that the event is over I am glad that I decided to attend. Ever time someone I was close to won an award it made me proud since I would be able to say "I know them and we are great friends" in addition they deserved the award for all of the hard work they put forward both in and out of school. I can only imagine how their parents must have felt.&lt;br /&gt;&lt;br /&gt;Today was my sibling's graduation. It's not until you have to sit through one of those as a nonparticipant that  you see how fast they move. For some reason I remember my graduation taking forever, but then again I was anxious for it to all finally be over. The speeches given by the saluditorian and valedictorian were both quite good. The saluditorian is a good friend of mine and a funny guy so naturally there were some (well really many) hidden comments in his speech. The only part I regret is that my parents decided to show up only five minutes before graduation started so parking was hell and it was near impossible to find seating. We ended up sitting above the tunnel where all the graduates entered and left, so as my siblings were leaving they were able to see us. Also there was no way to get any good pictures of what was happening on stage because we were so far away. Oh well, being there is what really counts, and I managed to get a few good pictures.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-3611992484535498830?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/3611992484535498830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=3611992484535498830' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/3611992484535498830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/3611992484535498830'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/05/from-big-to-bigger.html' title='From  Big to Bigger'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-2220443225832952112</id><published>2008-05-23T22:14:00.003-04:00</published><updated>2008-05-23T23:10:05.998-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming Related'/><category scheme='http://www.blogger.com/atom/ns#' term='Math Related'/><title type='text'>Sum of Two Squares</title><content type='html'>I know that I haven't had a post about math or anything math related for a while, so I think it is time to change this.&lt;br /&gt;&lt;br /&gt;Well the problem discussed here really isn't that difficult but it is interesting enough to mention.  "Given an integer &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?n" align="middle" border="0" /&gt; determine if &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?n" align="middle" border="0" /&gt; can be written as the sum of two squares."  For example if &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?n=29=5%5E2+2%5E2" align="middle" border="0" /&gt;, however, if instead we had &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?n=14" align="middle" border="0" /&gt; it can be shown that it is not possible to have &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?14=x%5E2+y%5E2" align="middle" border="0" /&gt; where &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?x,y%5Cin%5Cmathbb%7BN%7D" align="middle" border="0" /&gt;.&lt;br /&gt;&lt;br /&gt;Sure you could  try using "brute force" to solve this but that is boring and definitely not worthy of its own post.  The necessary key insight is a theorem by Fermat.  The theorem states that a prime number &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?p" align="middle" border="0" /&gt; can be expressed as the sum of two squares &lt;span style="font-weight: bold;"&gt;if and only if&lt;/span&gt; &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?p%5Cequiv%201%5Cbmod%204" align="middle" border="0" /&gt;. The proof of one direction is not that difficult but a proof of the other direction (that if &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?p%5Cequiv%201%5Cbmod%204" align="middle" border="0" /&gt; then &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?p" align="middle" border="0" /&gt; is the sum of two squares) requires a little more work.  I don't feel like posting them here but feel free to look on Wikipedia, where you will find numerous proofs.  The proof by Euler is quite straight forward but is quite long and split into many sections (your call on whether this is a good thing or not).  My personal favorite is the first proof by Dedekind using Gaussian Integers.&lt;br /&gt;&lt;br /&gt;Now another important fact to know is the following. If two integers, &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?x" align="middle" border="0" /&gt; and &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?y" align="middle" border="0" /&gt;, can each be written as the sum of two squares, then their product, &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?xy" align="middle" border="0" /&gt; can be written as the sum of two squares.  The proof is just a basic exercise in equation manipulation, if you have not proven this fact for yourself I suggest you try to in your spare time.&lt;br /&gt;&lt;br /&gt;Using these two facts the problem basically boils down to "factor &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?n" align="middle" border="0" /&gt;."  Actually our task is even easier than this, we only need to find the prime factors, &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?p" align="middle" border="0" /&gt;, of &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?n" align="middle" border="0" /&gt; such that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?p%5Cequiv%203%5Cbmod%204" align="middle" border="0" /&gt;. Thus if &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?n" align="middle" border="0" /&gt; factors as &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?p_1%5E%7B%5Calpha_1%7D%5Cdots%20p_r%5E%7B%5Calpha_r%7D" align="middle" border="0" /&gt; and  for some &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?w" align="middle" border="0" /&gt;, &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?1%5Cle%20w%5Cle%20r" align="middle" border="0" /&gt; we have that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?p_w%5Cequiv%203%5Cbmod%204" align="middle" border="0" /&gt; and &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Calpha_w" align="middle" border="0" /&gt; is odd, then &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?n" align="middle" border="0" /&gt; can not be expressed as the sum of two squares.&lt;br /&gt;&lt;br /&gt;Pretty simple, now writing a program to actually do all of these things is a little harder but not by that much.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-2220443225832952112?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/2220443225832952112/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=2220443225832952112' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/2220443225832952112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/2220443225832952112'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/05/sum-of-two-squares.html' title='Sum of Two Squares'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-1914411790839792603</id><published>2008-05-16T21:09:00.004-04:00</published><updated>2008-05-18T09:18:04.860-04:00</updated><title type='text'>Deja Vu</title><content type='html'>Today just like any other day had its ups and downs. A few days ago I decided to try Wubi, which is a way to try Ubuntu before you decide on whether or not you actually want to install it on your computer. Well I was not able to get my wifi working, a serious issue for any computer user in these times. I spent basically all day trying to get this right but it seems that my efforts were all in vain. Thus I decided to uninstall Wubi, however, even after this when I started my computer there would always be an option to start up Ubuntu (which of course didn't work with out Wubi). So I reverted my laptop back to the factory shipped condition. The next few hours were spent removing all the unwanted programs and reinstalling those which I had saved before the restore.&lt;br /&gt;&lt;br /&gt;I wasn't at the computer during the entire restore process.  Went out with Ann to a restaurant, but am not able to recall it's name. the food was pretty good and not over prices.  For some reason I let her talk me into having the sweet potato side. Honestly it wasn't all that bad but not as good as the sweet potatoes that my mom makes when I come home.  Looking back the only negative about our lunch outing was that almost as soon as we got to the restaurant it started to rain, so we were wet while we waited to be seated.&lt;br /&gt;&lt;br /&gt;After lunch we went back to my place and had some fun with the internet and learning about phone numbers. Just in case you were wondering it is not possible to have pi and "e" as phone numbers. They both violate some rule about the placement of the number "1". Well now I will have to find a new mathematical constant to have as my future phone number.  If you know of one that is available feel free to leave it in a comment.&lt;br /&gt;&lt;br /&gt;Today I downloaded the new Lupe Fiasco album, The Cool.  I haven't really had the chance to listen to all of the tracks but some stand out more than others.  As of now my favorite is Go Go Gadget Flow, and the one I skip most often would have to be Superstar, due mainly to the fact that I hear it everywhere I go. Below is a video of another one of the better songs called "Little Weapon", listening to the lyrics makes you think how sad and it is even worse because it is true.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a style="left: 0px ! important; top: 0px ! important;" title="Click here to block this object with Adblock Plus" class="abp-objtab-08214011839424157 visible ontop" href="http://www.youtube.com/v/gMdyV1OFeTw&amp;amp;hl=en"&gt;&lt;/a&gt;&lt;a style="left: 0px ! important; top: 0px ! important;" title="Click here to block this object with Adblock Plus" class="abp-objtab-09198840469438088 visible ontop" href="http://www.youtube.com/v/gMdyV1OFeTw&amp;amp;hl=en"&gt;&lt;/a&gt;&lt;object height="400" width="400"&gt;&lt;param name="movie" value="http://www.youtube.com/v/gMdyV1OFeTw&amp;amp;hl=en"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.youtube.com/v/gMdyV1OFeTw&amp;amp;hl=en" type="application/x-shockwave-flash" wmode="transparent" height="400" width="400"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-1914411790839792603?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/1914411790839792603/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=1914411790839792603' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/1914411790839792603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/1914411790839792603'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/05/deja-vu.html' title='Deja Vu'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-2407587920053891901</id><published>2008-05-11T20:35:00.008-04:00</published><updated>2008-05-12T09:14:48.717-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life Events'/><title type='text'>Sales Tax and Apples</title><content type='html'>A few days ago I was standing in line at a Subway looking at the prices of the menu items; $4.99, $5.89, $0.99, etc. This just got me thinking, why don't they just give you the price after tax?  Just imagine being an immigrant and going to the store and buying two products both listed at $5.99. You go to the register and expect to pay $11.98, but you have to pay $12.82 after 7% sales tax. The first thing that you think is "What is going on here? Why do I have to give you more money than the listed price?" The truth of the matter is that most other countries the price that is shown is the one after tax, so you can imagine how this would cause confusion. Honestly, how difficult would it be for stores to just calculate the tax and add it on to the already listed price? Not very I hope.&lt;br /&gt;&lt;br /&gt;I know that no matter how much I, or anyone else for that matter, rants about this, this stupid policy is not likely to change.&lt;br /&gt;&lt;br /&gt;Just browsing around the internet I came upon an all too familiar forum discussion topic: "Why are Macs better than PCs".  Of course as expected&lt;span style="font-style: italic;"&gt; &lt;/span&gt;I saw the typical "viruses" claim.  What made this thread interesting however, was that there were other claims that were made, some of them irrational but at least they tried to be original.  After the virus statements, I would have to say that the next most popular claim was that Macs had better graphics. Now I don't know how true this is since I have never sat the two down side by side and compared so I have no real opinion on this. Some other listed reasons included, easier to use, being faster, and just look better.  Now Macs looking better is obviously not a reason that they are better than PCs so I will just disregard this one. Whoever made the being faster claim obviously knows nothing about computers. It's not the computer, but the processor, RAM, and amount of programs running that determine speed. Finally, as far as being easier to use this is really just a matter of  getting acclimated. Every time I have to use a Mac I have the hardest time navigating, not because I don't know how to find what I am looking for, but because the keyboard shortcuts are different. This and the way you interact with open windows is a little different when it comes to maximizing/minimizing and other such task.&lt;br /&gt;&lt;br /&gt;Amidst all this PC bashing there was the occasional "voice of reason". One of the reasons for the  "lack of Mac viruses" is obviously the small portion of market power they have but also because of how the OS and software are closely integrated.  One of my favorite statements in the whole thread went something like this, "I don't have anything against Macs, however, what I do have an issue with is the air of superiority that seems to surround almost all Mac users. They seem to think that just because they own a Mac that they are so much better than all PC users. Really, from the looks of things it seems that the extra money you pay for a Mac is not for a better computer but rather for this false sense of superiority."  I would have to agree with this statement. Almost all the Mac users I know seem to always try to mention how much better their computer is than mine. Even though it is true it's not because I am using a PC but because I have less RAM, a slower processor (which is about to change), and the amount of programs I run simultaneously.  When I was looking for laptops I originally though about getting an iBook or Powerbook. However, as it turns out they were selling for about $2,000 and if I wanted to get the same thing on a PC I would only have to pay about $600-700. So it's no surprise I went with my HP Pavilion dv6700.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-2407587920053891901?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/2407587920053891901/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=2407587920053891901' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/2407587920053891901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/2407587920053891901'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/05/sales-tax-and-apple.html' title='Sales Tax and Apples'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-4264754457757467600</id><published>2008-05-05T23:13:00.007-04:00</published><updated>2008-12-11T16:38:23.038-05:00</updated><title type='text'>Small Intermission</title><content type='html'>Finals ended last week and I am glad that I will never have to see some of those classes again.  Looking back on the semester, I realize that French was not all that bad.  Honestly I am going to miss the subject, but not the having class every morning. Another class I'm not going to miss all that much is Abstract Algebra. Now I know that I might regret this but for some reason the topic doesn't appeal to me quite as much as number theory, analysis, or other branches of mathematics. The funny thing is that algebra and number theory are very closely related. Just about every theorem we learned in algebra could be stated in terms that wold make it applicable to a number theory class. Overall the semester wasn't that bad, surprisingly advanced calculus turned out to be ,what I considere, my easiest class. I still have to wait another week or so to find out my final grades but I am pretty confident that I made As in all of my classes.&lt;br /&gt;&lt;br /&gt;When I returned home I found my laptop waiting for me. In case you are wondering I mentioned the laptop in one of my last two post.  Setting everything up was pretty straight forward, no real surprises. The only real issues were getting used to the new feel of vista and removing all of the unnecessary preinstalled software. Really I could group these into the same problem since it took me a while to find the "add/remove programs" function in vista, which happens to be called "programs and features". After finding this I spent the next hour or so finding unwanted material and then waiting for Windows to uninstall them. Overall Windows Vista isn't all that bad, I would rather be using XP but after spending some time with it you realize that in all actuality it isn't as bad as some reports make it out to be.&lt;br /&gt;&lt;br /&gt;Here are a few screen shots of my new set up.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;In use:&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_L0iYbx2zzdM/SB_VTG_b7FI/AAAAAAAAAD0/DXzdaTfMJvQ/s1600-h/session.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_L0iYbx2zzdM/SB_VTG_b7FI/AAAAAAAAAD0/DXzdaTfMJvQ/s400/session.jpg" alt="" id="BLOGGER_PHOTO_ID_5197107019279756370" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;Desktop:&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_L0iYbx2zzdM/SB_XI2_b7JI/AAAAAAAAAEU/Kh_X_ZcsLqE/s1600-h/desktop.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://4.bp.blogspot.com/_L0iYbx2zzdM/SB_XI2_b7JI/AAAAAAAAAEU/Kh_X_ZcsLqE/s400/desktop.jpg" alt="" id="BLOGGER_PHOTO_ID_5197109042209352850" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As you probably noticed this is not the usual Windows set up. I have "replaced" the task bar and system try with an application called ObjectDock, which imitates the thing that is used my Macs. On the side is Google Desktop's side bar, personally I prefer it to the one that comes with Vista.&lt;br /&gt;&lt;br /&gt;Finally, my birthday was a little while ago. I didn't really do all that much, just had lunch with two of my best friends and then spent time with the family. Even though it doesn't sound like much it turned out pretty well.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-4264754457757467600?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/4264754457757467600/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=4264754457757467600' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/4264754457757467600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/4264754457757467600'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/05/small-intermission.html' title='Small Intermission'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_L0iYbx2zzdM/SB_VTG_b7FI/AAAAAAAAAD0/DXzdaTfMJvQ/s72-c/session.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-1738563004716614410</id><published>2008-04-16T15:51:00.006-04:00</published><updated>2008-04-16T18:27:18.151-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life Events'/><title type='text'>Finally Time For Finals</title><content type='html'>Just finished what I hope was my last Abstract Algebra test.  The take home portion of this exam was hell. Even though there were only 3 questions it took a little under a week for us to complete.  The first two questions were pretty simple and we finished in about an hour (most likely less).  They day before the exam was due my team and I spent around 12 hours working on the sole remaining problem, and we didn't feel too confident about any of our proofs.  What frustrated us the most was that the material covered in the final question did not have any major connection to algebra.  This combined with the professor's poor wording of the problem left us wanting to kill people. Today was the in class portion of the exam which surprisingly was not all that bad.  I did however, make a few mistakes. One problem I got the right answer but used the completely wrong method, luckily this was a short answer and not proof bases test. Another problems I used the same incorrect method but this time I am sure I go the wrong answer. Other than those two questions I think that I got everything else correct.&lt;br /&gt;&lt;br /&gt;In addition to the abstract test I had an Advanced Calculus test the following period. Luckily the theorem he wanted us to prove was not all that difficult, since I did not bother studying for it due to the abstract test.&lt;br /&gt;&lt;br /&gt;Before you get the wrong idea, today was not a horrible day. In fact it was and most likely will be the best day of this week. I woke up this morning thinking that I would have to go to French.  However, during my shower I remembered that we didn't have class today because we had the oral portion of our final the previous day. During this new found free time I studied a little for abstract and watched some television. This got old after a while so I resorted to doing a few SPOJ problems, which is something I haven't done in about a month. During the period of about one hour I finished a previously started problem relating to Fibonacci numbers, started and completed a problem on finding the centroid of a region, and finally started a problem on strings.  This last problem I have though of a method but am not sure exactly how to program it just yet.&lt;br /&gt;&lt;br /&gt;One final bit of good news, I ordered my laptop a few days ago. Here are its "stats":&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:85%;"&gt;- Genuine Windows Vista Home Premium with Service Pack 1 (64-bit)&lt;br /&gt;- AMD Turion(TM) 64 X2 Dual-Core Mobile Technology TL-60 (2.0 GHz, 512KB+512KB L2 Cache )&lt;br /&gt;- 15.4" diagonal WXGA High-Definition &lt;span class="nfakPe"&gt;HP&lt;/span&gt; BrightView Widescreen Display (1280 x 800)&lt;br /&gt;- 2GB DDR2 System Memory (2 Dimm)&lt;br /&gt;- 256MB NVIDIA GeForce 8400M GS!!&lt;br /&gt;- &lt;span class="nfakPe"&gt;HP&lt;/span&gt; Imprint Finish (Radiance) + Webcam + Microphone&lt;br /&gt;- 802.11b/g WLAN and Bluetooth from 802.11b/g WLAN!!&lt;br /&gt;- 160GB 5400RPM SATA Hard Drive&lt;br /&gt;- SuperMulti 8X DVD+/-R/RW with Double Layer Support&lt;br /&gt;- High Capacity 6 Cell Lithium Ion Battery (3hr 30min)&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;This only came out to $847.09 and $59.10 of that is tax (shipping was free).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-1738563004716614410?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/1738563004716614410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=1738563004716614410' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/1738563004716614410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/1738563004716614410'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/04/finally-time-for-finals.html' title='Finally Time For Finals'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-2430410390692457639</id><published>2008-04-05T18:24:00.004-04:00</published><updated>2008-04-09T19:45:05.116-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life Events'/><category scheme='http://www.blogger.com/atom/ns#' term='Humor'/><title type='text'>Finals and Work</title><content type='html'>Well the semester is winding down, I only have a few more test and then I'm "free".  Now that I think about it I have quite a few test to take actually. Two in Abstract Algebra, either one or two in Advanced Calculus 2, two in Managerial Economics, and one in French.  None of these should be particularly difficult, but some count more than others so I will actually have to study.&lt;br /&gt;&lt;br /&gt;Right now I am really looking forward to my REU.  I still have to book a flight but that shouldn't be a bit issue.  Earlier today I received an email from the coordinator informing us about who was going to be in our groups as well as how we were to sign up for housing (which is provided free of charge).  Interestingly there will also be other undergraduates participating in research in other natural science areas. If I am correct I believe that the email said that there would be somewhere around 200 undergraduates, and only 15 of us will be working directly with the mathematics department.  Apparently we will be getting pain $800 minus taxes every fortnight.&lt;br /&gt;While on the topic of money I think it is appropriate to mention that I might be teaching the discussion section for a Precalculus class next fall.   I found this out on Friday after my Advanced Calculus 2 class.  The professor talked to me and another sophomore, he wanted to know if we would be around next fall since the department was looking for more TAs to help teach discussion sections. He said that he would refer us to the person in charge in order to set up our interviews, which are just a formality according to him.  It was mentioned that we would be getting paid but nothing much was said about this topic, and I'm fine with that.&lt;br /&gt;&lt;br /&gt;It's been a while since I've done this, but here is a video to accompany this post.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a style="left: 0px ! important; top: 0px ! important;" title="Click here to block this object with Adblock Plus" class="abp-objtab-02892407438256499 visible ontop" href="http://www.youtube.com/v/S3X1K93ff5I&amp;amp;hl=en"&gt;&lt;/a&gt;&lt;a style="left: 0px ! important; top: 0px ! important;" title="Click here to block this object with Adblock Plus" class="abp-objtab-07695540847475956 visible ontop" href="http://www.youtube.com/v/S3X1K93ff5I&amp;amp;hl=en"&gt;&lt;/a&gt;&lt;object height="400" width="400"&gt;&lt;param name="movie" value="http://www.youtube.com/v/S3X1K93ff5I&amp;amp;hl=en"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.youtube.com/v/S3X1K93ff5I&amp;amp;hl=en" type="application/x-shockwave-flash" wmode="transparent" height="400" width="400"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-2430410390692457639?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/2430410390692457639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=2430410390692457639' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/2430410390692457639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/2430410390692457639'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/04/finals-and-work.html' title='Finals and Work'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-2593409260102400978</id><published>2008-04-02T10:05:00.003-04:00</published><updated>2008-04-02T10:17:53.693-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life Events'/><category scheme='http://www.blogger.com/atom/ns#' term='Life Experiments'/><category scheme='http://www.blogger.com/atom/ns#' term='Humor'/><title type='text'>Linux in my Windows</title><content type='html'>A few days ago I tried to dual boot Windows XP and Ubuntu (a Linux distribution).  At first I was just booting Ubuntu from the boot CD I had created, and things were running smoothly.  Eventually the time came where I decided that I wanted to boot Ubuntu from the hard drive and not the CD.  Well I started the process and things were running smoothly, me hitting next and Ubuntu doing what it does best (rocking). So I come to the end of the installation and when I restart my computer I realized that I had not partitioned my drive so that it would run BOTH XP and Ubuntu, but instead I had installed Ubuntu on the whole drive, which means no more Windows XP.  This wasn't all that bad since I was planning on replacing XP eventually in any case. However, problems arose once I realized that I was not being able to connect to the campus internet (they have some new long and stupid process which I believe is out to get Linux users). Thus for the weekend I didn't have internet, I did however, have a lot of fun games that came with Ubuntu so I was entertained.&lt;br /&gt;Yesterday I managed to get a copy of an XP boot and installation disk. So right now I am in the process of reinstalling all the applications I will need and all of my other hardware to work with XP again.  So I have been frantically downloading things left and right.&lt;br /&gt;Things I still need to get include;&lt;br /&gt;a C++ compiler, Adobe Reader, WinTV, a few Firefox add-ons, and other minor things like anti-virus software.&lt;br /&gt;In any case I shall be reattempting to dual boot XP and Ubuntu in a few days, wish me luck.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-2593409260102400978?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/2593409260102400978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=2593409260102400978' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/2593409260102400978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/2593409260102400978'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/04/linux-in-my-windows.html' title='Linux in my Windows'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-5902517206837672279</id><published>2008-03-27T21:01:00.002-04:00</published><updated>2008-03-28T01:01:26.529-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming Related'/><category scheme='http://www.blogger.com/atom/ns#' term='Life Events'/><title type='text'>Codes</title><content type='html'>Well this semester is almost over, and I could not be any happier about it. Classes are starting to get on my nerves. Really it is just the non-math classes but this general feeling of resentment is being carried over to the math classes and that is never a good thing.  Economics should have been interesting but it turns out that he spends a semester teaching you how to do basic optimization problems. By basic I mean only require calculus 1 and there are no round off errors.  French is being as some would say, "French". It isn't so much the class in this case as much as it is the having a test every other week or just about. By the end of the semester you are just burnt out and would rather get a 50 on a test than look at another word of French.&lt;br /&gt;&lt;br /&gt;&lt;input name="MDASSEGN" value="007" type="hidden"&gt;Registration for the next semester is coming up soon for me, I think my registration date is either the 30th or the 31st.  In any case I still have to narrow down my class choices. Right now the only classes that I know I will be taking for sure are; Modern Analysis 1 (a first year graduate class) and an Advanced Programming Fundamentals for CIS Majors, which is an introduction to computer science for students with prior    programming experience. As for my other classes I am still torn between Introductory Numerical Analysis and Numerical Linear Algebra (another first year graduate class). Regardless of which class I take in the fall, I will be taking Numerical Analysis (the graduate level) in the spring, so chances are I will be taking the Into. Numerical Analysis. Finally there is a Fourier Series and Transforms class being offered which I would really like to take, but after talking to an adviser, I was informed that the class might be canceled if not enough students register.&lt;br /&gt;&lt;br /&gt;Things have gotten to the point that in my copious spare time I decide to work on SPOJ problems.  The problem that I have just recently completed after about a week is BITMAP, for those of you that are interested. My initial approach was to solve this problem with dynamic programming which seems reasonable. However, it was a few days ago that I learned about what I think is called a "breath first" search. I am not sure if this method is actually faster than the dynamic programming idea I had but it is definitely easier to program for this particular problem.  I suppose that actually having a class in C++ would have it's benefits, mainly in that I would get a better idea of how particular ideas can be used to solve problems. For instance, before I knew about queues but they never seemed useful since it appeared that anything they could do, vectors could do better (I am sure you could create a vector that acts like a queue but it would require unnecessary amounts of code). This is the main reason I am taking the&lt;br /&gt;Advanced Programming Fundamentals class.&lt;br /&gt;&lt;br /&gt;Right about now I should be getting back to finishing my take home Abstract Algebra test, which is due tomorrow around 12:30.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-5902517206837672279?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/5902517206837672279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=5902517206837672279' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/5902517206837672279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/5902517206837672279'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/03/codes.html' title='Codes'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-4928345072003210571</id><published>2008-03-18T11:32:00.004-04:00</published><updated>2008-03-23T21:13:15.423-04:00</updated><title type='text'>Overdue Spring Break Post</title><content type='html'>You don't realize just how much you need a break until you get one.  Mine wasn't too eventful, I just went back home and decided to relax a little (honestly it was more like a lot).  Even though I didn't do all that much it was still enjoyable.&lt;br /&gt;&lt;br /&gt;Firstly I heard back from the REUs that I had applied to last month. I got an offer from one of the REUs and will be working on one of the more interesting problems in my opinion. Here is the description of the project that is provided on their website:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;In the mid 1990's an electronic puzzle called "Light's Out'' became popular. The puzzle consists of a grid of lights, and at the start, some of these lights are on. Pressing one of the lights will toggle it and the four lights adjacent to it on and off. (Diagonal neighbors are not affected.) To win, one must switch off all of the lights. This puzzle can be reformulated in terms of graph theory with vertices representing lights and edges representing adjacency. One can then study graph theoretic properties of the puzzle, as well as optimal winning strategies and "always winnable'' graphs.&lt;br /&gt;&lt;br /&gt;This project will deal with adding a probabilistic element to the puzzle. One question relates to the expected number of moves required to win under a strategy of randomly pressing vertices on a winnable graph. Another avenue of research would involve assigning probabilities to various edges, so that lights are only toggled on or off with a certain probability when any vertex is pressed. The study of these questions may lead to other interesting variations on this theme.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;This program runs from June 2nd to July 25th and is in Holland, Michigan which is only about two hours away from Chicago.&lt;br /&gt;&lt;br /&gt;In addition to this great news I got to hang out with some friends.  Don't think I will need to play Guitar Hero for at least another 2 months. Also went and saw Definitely Maybe with Ann, the movie was fantastic until the ending where it all sort of fell apart.  I suppose they couldn't have thought of a better ending.  The next movie I want to see is 21, this is kind of a big deal since I normally don't set out to see specific movies.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-4928345072003210571?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/4928345072003210571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=4928345072003210571' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/4928345072003210571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/4928345072003210571'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/03/overdue-spring-break-post.html' title='Overdue Spring Break Post'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-8120251238787401344</id><published>2008-03-17T10:12:00.005-04:00</published><updated>2008-03-21T02:48:35.105-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Math Related'/><title type='text'>Bernstein Polynomial</title><content type='html'>Recently in Analysis we learned about a famous theorem due to Weierstrass.  This theorem asserts that &lt;span style="font-weight: bold;"&gt;ANY&lt;/span&gt; continuous function on a closed interval can be approximated by a polynomial.  The proof in Rudin's Principles of Mathematical Analysis was kind of easy to follow but really required that you fill in many gaps, as is usual with many of his proofs. However, over spring break I was reading &lt;span style="font-style: italic;"&gt;A First Course in Numerical Analysis&lt;/span&gt; by Ralston and Rabinowitz  and they provided a proof that was not only much easier to follow but seemed more natural to some extent.  It should be noted however, that some of the steps in their proof assumed that you have some background in analysis in order to justify some of their claims. Anyway what follows is their statement of the theorem and its proof.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Theorem:&lt;/span&gt;&lt;br /&gt;If &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?f%28x%29" align="middle" border="0" /&gt; is continuous on a finite interval &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Ba,b%5D" align="middle" border="0" /&gt;, then given any &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cepsilon%3E0" align="middle" border="0" /&gt;, there exist and &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?n" align="middle" border="0" /&gt; and a polynomial &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?P_n%28x%29" align="middle" border="0" /&gt; of degree &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?n" align="middle" border="0" /&gt; such that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%7Cf%28x%29-P_n%28x%29%7C%3C%5Cepsilon" align="middle" border="0" /&gt;, for all &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?x" align="middle" border="0" /&gt; in &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Ba,b%5D" align="middle" border="0" /&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;Lemmas:&lt;/span&gt; The following lemmas are easily proven by the binomial theorem, and thus left to be done so by the reader. (Don't you just hate when books do this to you)&lt;br /&gt;1: &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cdisplaystyle%5Csum_%7Bk=0%7D%5E%7Bn%7D%7Bn%5Cchoose%20k%7Dx%5Ek%281-x%29%5E%7Bn-k%7D=1" align="middle" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;2: &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cdisplaystyle%5Csum_%7Bk=0%7D%5E%7Bn%7D%5Cfrac%7Bk%7D%7Bn%7D%7Bn%5Cchoose%20k%7Dx%5Ek%281-x%29%5E%7Bn-k%7D=x" align="middle" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;3: &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cdisplaystyle%5Csum_%7Bk=0%7D%5E%7Bn%7D%5Cfrac%7Bk%5E2%7D%7Bn%5E2%7D%7Bn%5Cchoose%20k%7Dx%5Ek%281-x%29%5E%7Bn-k%7D=%5Cleft%281-%5Cfrac%7B1%7D%7Bn%7D%5Cright%29x%5E2+%5Cfrac%7B1%7D%7Bn%7Dx" align="middle" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Proof:&lt;/span&gt;&lt;br /&gt;Define the polynomial &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cdisplaystyle%20B_n%28x%29=%5Csum_%7Bk=0%7D%5E%7Bn%7D%7Bn%5Cchoose%20k%7Dx%5Ek%281-x%29%5E%7Bn-k%7Df%5Cleft%28%5Cfrac%7Bk%7D%7Bn%7D%5Cright%29" align="middle" border="0" /&gt;.  From the lemmas we have that&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cdisplaystyle%5Csum_%7Bk=0%7D%5E%7Bn%7D%5Cleft%28%5Cfrac%7Bk%7D%7Bn%7D-x%5Cright%29%5E2%7Bn%5Cchoose%20k%7Dx%5Ek%281-x%29%5E%7Bn-k%7D=%5Cfrac%7Bx%281-x%29%7D%7Bn%7D" align="middle" border="0" /&gt;, from this we have that&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cdisplaystyle%20f%28x%29-B_n%28x%29=%5Csum_%7Bk=0%7D%5E%7Bn%7D%5Cleft%5Bf%28x%29-f%5Cleft%28%5Cfrac%7Bk%7D%7Bn%7D%5Cright%29%5Cright%5D%7Bn%5Cchoose%20k%7Dx%5Ek%281-x%29%5E%7Bn-k%7D" align="middle" border="0" /&gt;.  Let &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?M=%5Csup%7B%7Cf%28x%29%7C%7D" align="middle" border="0" /&gt; on &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5B0,1%5D" align="middle" border="0" /&gt; (we can turn any finite interval into &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5B0,1%5D" align="middle" border="0" /&gt; by a simple rescaling). Now &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%7Cf%28x_1%29-f%28x_2%29%7C%3C%5Cepsilon" align="middle" border="0" /&gt; if &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%7Cx_1-x_2%7C%3C%5Cdelta" align="middle" border="0" /&gt;.  We&lt;br /&gt;&lt;br /&gt;next proceed to define two sets, &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?A=%5Cleft%5C%7B%5Cfrac%20kn:%20%5Cleft%7C%5Cfrac%20kn%20-x%5Cright%7C%3C%5Cdelta%5Cright%5C%7D" align="middle" border="0" /&gt; for any x in the interval and &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?k=0,1,%5Cdots,%20n" align="middle" border="0" /&gt;, and &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?B" align="middle" border="0" /&gt; is the set of remaining points.&lt;br /&gt;&lt;br /&gt;Using the above identities we have that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cdisplaystyle%5Cleft%7C%5Csum_A%5Cleft%5Bf%28x%29-f%5Cleft%28%5Cfrac%20kn%5Cright%29%5Cright%5D%7Bn%5Cchoose%20k%7Dx%5Ek%281-x%29%5E%7Bn-k%7D%5Cright%7C%3C%5Cepsilon%5Csum_a%7Bn%5Cchoose%20k%7Dx%5Ek%281-x%29%5E%7Bn-k%7D%5Cleq%5Cepsilon" align="middle" border="0" /&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For the set &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?B" align="middle" border="0" /&gt; we have &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cbegin%7Beqnarray*%7D%3Cbr%3E%0A%5Cleft%7C%5Csum_B%5Cleft%5Bf%28x%29-f%5Cleft%28%5Cfrac%20kn%5Cright%29%5Cright%5D%7Bn%5Cchoose%0Ak%7Dx%5Ek%281-x%29%5E%7Bn-k%7D%5Cright%7C&amp;amp;%5Cleq%20&amp;amp;%202M%5Csum_B%7Bn%5Cchoose%0Ak%7Dx%5Ek%281-x%29%5E%7Bn-k%7D%5C%5C%3Cbr%3E%0A&amp;amp;=&amp;amp;2M%5Csum_B%5Cfrac%7B%28k/n-x%29%5E2%7D%7B%28k/n-x%29%5E2%7D%7Bn%5Cchoose%20k%7Dx%5Ek%281-x%29%5E%7Bn-k%7D%5C%5C%3Cbr%3E%0A&amp;amp;%5Cleq&amp;amp;%5Cfrac%7BM%7D%7B2n%5Cdelta%5E2%7D%5C%5C%3Cbr%3E%0A&amp;amp;%3C&amp;amp;%20%5Cepsilon%3Cbr%3E%0A%5Cend%7Beqnarray*%7D" align="middle" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;for &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?n" align="middle" border="0" /&gt; large enough. (note that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?x%281-x%29%5Cleq%20%5Cfrac%2014" align="middle" border="0" /&gt; on &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5B0,1%5D" align="middle" border="0" /&gt;)&lt;br /&gt;&lt;br /&gt;Thus &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%7Cf%28x%29-B_n%28x%29%7C%3C2%5Cepsilon" align="middle" border="0" /&gt;.&lt;br /&gt;&lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cmathbb%7BQ.E.D.%7D" align="middle" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Compared to Rudin's proof this one is much easier to follow if you actually prove the lemmas. The above proof was given by Bernstein in 1912, it should be mentioned that I might have left out a few details but the general idea is there. In case you didn't do it, the rescaling done with the interval is just &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?f%28x%29%5Cmapsto%20f%5Cleft%28%5Cfrac%7Bx%7D%7Bb-a%7D-%5Cfrac%7Ba%7D%7Bb-a%7D%5Cright%29" align="middle" border="0" /&gt;, so &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?f%28a%29%5Cmapsto%20f%280%29" align="middle" border="0" /&gt; and &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?f%28b%29%5Cmapsto%20f%281%29" align="middle" border="0" /&gt; and anything in between &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?a" align="middle" border="0" /&gt; and &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?b" align="middle" border="0" /&gt; maps to &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?f%28%5Calpha%29" align="middle" border="0" /&gt; with &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Calpha%5Cin%280,1%29" align="middle" border="0" /&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Challenge Problem:&lt;/span&gt;&lt;br /&gt;If &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?F%28t%29" align="middle" border="0" /&gt; is a periodic continuous function of period &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?2%5Cpi" align="middle" border="0" /&gt; prove that for any &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cepsilon%3E0" align="middle" border="0" /&gt; there exist &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?n" align="middle" border="0" /&gt; such that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%7CF%28t%29-S_n%28t%29%7C%3C%5Cepsilon" align="middle" border="0" /&gt;.  Where &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?S_n%28t%29=a_0+%5Csum_%7Bk=1%7D%5E%7Bn%7D%20%5Cleft%5Ba_k%5Ccos%28kt%29+b_k%5Csin%28kt%29%5Cright%5D" align="middle" border="0" /&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-8120251238787401344?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/8120251238787401344/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=8120251238787401344' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8120251238787401344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8120251238787401344'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/03/bernstein-polynomial.html' title='Bernstein Polynomial'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-8482458874148949000</id><published>2008-03-08T14:24:00.004-05:00</published><updated>2008-03-08T15:08:09.253-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming Related'/><category scheme='http://www.blogger.com/atom/ns#' term='Math Related'/><category scheme='http://www.blogger.com/atom/ns#' term='Life Events'/><title type='text'>My Solutions</title><content type='html'>Well spring break officially starts today, even though I started on Thursday after my managerial economics test.  After the exam I went out to a club with a friend and her neighbor.  It was the second time that we went to this particular club, luckily this time was more enjoyable than the previous visit.  Even though I had a great time, I would not say that this was my best clubbing experience.  It had nothing to do the people I went with since they are some of my best friends, it's just that they are not the group of friends that I normally go to clubs with so it was just a little awkward for me and took some getting used to.  The next morning I woke up feeling horrible, the only way I know to describe it would be as hung over, but I haven't had any alcohol in about two to three months.  In any case it was not fun getting up and going to my 8:30 class on Friday.  Even though I felt like crap class was well worth it, since there were very few people there we got to practice our speaking (this is French class by the way).&lt;br /&gt;&lt;br /&gt;As of now I am not exactly sure when my ride back home is leaving, all I know is that it will either be on Sunday or Monday. With the free time I have while waiting to leave I should really be doing the homework so that I won't have to do it later. Guess I will start on that once I finish this post.  Right now I am just reading some C++ books and working on &lt;a href="http://spoj.pl"&gt;SPOJ&lt;/a&gt; problems. I have solved three more problems the only issue is that I need to find a way to improve my method so that I can fit in their ridiculous time constraints.&lt;br /&gt;&lt;br /&gt;Well I am going to post my solutions to some of the problems in the previous post.&lt;br /&gt;&lt;br /&gt;1:&lt;br /&gt;Choose &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?x,y,%5Cin%7BI%7D" align="middle" border="0" /&gt;, then by the mean value theorem there exist an &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?a%5Cin%28x,y%29" align="middle" border="0" /&gt; such that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?f%28x%29-f%28y%29=%28x-y%29f%27%28a%29" align="middle" border="0" /&gt;. From the given it follows that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%7Cf%28x%29-f%28y%29%7C%3CM%28x-y%29" align="middle" border="0" /&gt;, and &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?f" align="middle" border="0" /&gt; being uniformly continuous trivially follows.&lt;br /&gt;&lt;br /&gt;2:&lt;br /&gt;part 1: Since &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?g" align="middle" border="0" /&gt; is continuous at &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?x=0" align="middle" border="0" /&gt;, for every &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cepsilon%3E0" align="middle" border="0" /&gt; there exist a &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cdelta%3E0" align="middle" border="0" /&gt; such that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%7Cg%28t%29-g%28x%29%7C%3C%5Cepsilon" align="middle" border="0" /&gt; when &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%7Ct-x%7C%3C%5Cdelta" align="middle" border="0" /&gt;. Now choose an &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cepsilon%3E0" align="middle" border="0" /&gt; and its corresponding &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cdelta" align="middle" border="0" /&gt;, then&lt;br /&gt;&lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cleft%7C%5Cfrac%7Bf%28t%29-f%280%29%7D%7Bt-0%7D-g%280%29%5Cright%7C=%5Cleft%7C%5Cfrac%7Bf%28t%29%7D%7Bt%7D-g%280%29%5Cright%7C=%7Cg%28t%29-g%280%29%7C%3C%5Cepsilon" align="middle" border="0" /&gt;. Thus &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?f" align="middle" border="0" /&gt; is differentiable at &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?x=0" align="middle" border="0" /&gt; and &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?f%27%280%29=g%280%29" align="middle" border="0" /&gt;.&lt;br /&gt;&lt;br /&gt;Part two follows with ease.&lt;br /&gt;&lt;br /&gt;6:&lt;br /&gt;Let &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?g%28t%29=f%28t%29-%5Clambda%7Bt%7D" align="middle" border="0" /&gt;, so &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?g%28t%29" align="middle" border="0" /&gt; is also differentiable on &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Ba,b%5D" align="middle" border="0" /&gt;, and &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?g%27%28a%29%3C0%3Cg%27%28b%29" align="middle" border="0" /&gt;. Thus there exist a &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cdelta%3E0" align="middle" border="0" /&gt; such that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?g%28t_1%29%3Cg%28a%29" align="middle" border="0" /&gt; and &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?g%28t_2%29%3Cg%28b%29" align="middle" border="0" /&gt; when &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?t_1%5Cin%28a,a+%5Cdelta%29" align="middle" border="0" /&gt; and &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?t_2%5Cin%28b-%5Cdelta,b%29" align="middle" border="0" /&gt;. Since &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Ba,b%5D" align="middle" border="0" /&gt; is compact, we know that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?g" align="middle" border="0" /&gt; attains a minimum value somewhere on the interval; and because it is differentiable on this interval its derivative at this point is 0. So there exist &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?c%5Cin%28a,b%29" align="middle" border="0" /&gt; such that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?g%27%28c%29=0%5CLongrightarrow%20f%27%28c%29=%5Clambda" align="middle" border="0" /&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-8482458874148949000?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/8482458874148949000/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=8482458874148949000' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8482458874148949000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/8482458874148949000'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/03/my-solutions.html' title='My Solutions'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-3010252951234401366</id><published>2008-03-06T00:15:00.009-05:00</published><updated>2008-03-06T15:45:43.188-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Math Related'/><title type='text'>Analysis Midterm</title><content type='html'>Well I had my undergraduate analysis midterm today.  I think it is pretty safe to assume that I dominated that test.  When I first saw the test I began to worry, but as I started to work on the problems thing began to settle down.  The test only covered material from the chapters on differentiation and integration.&lt;br /&gt;Here are the problem statements as I remember them, I might post my solutions later on.&lt;br /&gt;&lt;br /&gt;1:&lt;br /&gt;If &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%7Cf%27%7C%3CM%3C%5Cinfty" align="middle" border="0" /&gt; for some interval &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?I" align="middle" border="0" /&gt;, show that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?f" align="middle" border="0" /&gt; is uniformly continuous on this interval. (Note that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?I" align="middle" border="0" /&gt; need not be closed, or bounded)&lt;br /&gt;&lt;br /&gt;2:&lt;br /&gt;part 1: Suppose that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?g" align="middle" border="0" /&gt; is continuous at &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?x=0" align="middle" border="0" /&gt;. Prove that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?f=xg%28x%29" align="middle" border="0" /&gt; is differentiable at &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?x=0" align="middle" border="0" /&gt;.&lt;br /&gt;part 2: Define a function &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?f:%5Cmathbb%7BR%7D%5Cmapsto%5Cmathbb%7BR%7D" align="middle" border="0" /&gt; by &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?f%28x%29=x%5E2" align="middle" border="0" /&gt; if &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?x%5Cin%5Cmathbb%7BQ%7D" align="middle" border="0" /&gt; and &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?f%28x%29=0" align="middle" border="0" /&gt; if &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?x%5Cnotin%5Cmathbb%7BQ%7D" align="middle" border="0" /&gt;. Find the value of &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?f%27%280%29" align="middle" border="0" /&gt; and prove your result.&lt;br /&gt;&lt;br /&gt;3:&lt;br /&gt;Define &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?f%28x%29=x%5Ea%5Csin%5Cleft%28%5Cfrac%7B1%7D%7Bx%5E2%7D%5Cright%29" align="middle" border="0" /&gt; when &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?x%5Cneq%7B0%7D" align="middle" border="0" /&gt; and 0 at the origin. What is the minimum value of &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?a" align="middle" border="0" /&gt; that causes &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?f%27" align="middle" border="0" /&gt; to be bounded. Also for this &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?a" align="middle" border="0" /&gt; is &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?f%27" align="middle" border="0" /&gt; continuous at 0? Prove your result. Finally characterize the values of &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?a" align="middle" border="0" /&gt; such that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?f%27" align="middle" border="0" /&gt; is continuous on &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cmathbb%7BR%7D" align="middle" border="0" /&gt;.&lt;br /&gt;&lt;br /&gt;4:&lt;br /&gt;Prove that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?f%5Cin%7BR%28%5Calpha%29%7D" align="middle" border="0" /&gt; if and only if for every &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cepsilon%3E0" align="middle" border="0" /&gt; there exist a partition &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?P" align="middle" border="0" /&gt; such that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?U%28P,f,%5Calpha%29-L%28P,f,%5Calpha%29%3C%5Cepsilon" align="middle" border="0" /&gt;.&lt;br /&gt;&lt;br /&gt;5:&lt;br /&gt;Suppose that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?f" align="middle" border="0" /&gt; is continuous on &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5B0,1%5D" align="middle" border="0" /&gt;, and &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?f%280%29=C" align="middle" border="0" /&gt;. Prove that,&lt;br /&gt;&lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cdisplaystyle%5Clim_%7Bx%5Cto%200%7D%5Cfrac%7B1%7D%7Bx%7D%5Cint_0%5Exf%28t%29dt=C" align="middle" border="0" /&gt;.&lt;br /&gt;&lt;br /&gt;6:&lt;br /&gt;Let &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?f" align="middle" border="0" /&gt; be differentiable on the closed interval &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Ba,b%5D" align="middle" border="0" /&gt; such that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?f%27%28a%29%3C%5Clambda%3Cf%27%28b%29" align="middle" border="0" /&gt;. Prove that there exist a &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?c%5Cin%7B%28a,b%29" align="middle" border="0" /&gt; such that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?f%27%28c%29=%5Clambda" align="middle" border="0" /&gt;.&lt;br /&gt;&lt;br /&gt;As you can see, nothing really difficult about the exam. I don't know why I panicked at the beginning, maybe I was anxious or something.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-3010252951234401366?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/3010252951234401366/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=3010252951234401366' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/3010252951234401366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/3010252951234401366'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/03/analysis-midterm.html' title='Analysis Midterm'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-4361709008881673203</id><published>2008-03-04T11:03:00.003-05:00</published><updated>2008-03-04T11:53:53.137-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming Related'/><category scheme='http://www.blogger.com/atom/ns#' term='Math Related'/><title type='text'>Miller-Rabin and Primes</title><content type='html'>For those of you who do not know, Miller-Rabin is a probabilistic algorithm for testing the primality of numbers. This is different from a deterministic algorithm since with Miller-Rabin there is a change that even if the test says a number is prime that it is in fact composite. However, we can make the probability of this happening so small that we are not worried. On the other hand, if the algorithm says that a number is composite then there is no doubt that it is so.&lt;br /&gt;&lt;br /&gt;Here is how the algorithm works. You are given a number &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?N" align="middle" border="0" /&gt; and wish to find out if it is prime. So we choose a random integer &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?d%5Cin%7B%5B2,N-1%5D" align="middle" border="0" /&gt;. First we compute &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?gcd%28N,d%29" align="middle" border="0" /&gt;, if this is not 1 then  we know immediately that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?N" align="middle" border="0" /&gt; is not prime. If this is in fact 1, we then proceed to calculate &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?N-1=M%5Ccdot%7B2%5EB%7D" align="middle" border="0" /&gt; where &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?M" align="middle" border="0" /&gt; is an odd integer. Next we calculate &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?d%5EM%5Cbmod%7BN%7D" align="middle" border="0" /&gt;, if this is &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cpm%7B1%7D" align="middle" border="0" /&gt; we choose another random integer. If it is not then we proceed with the following "cycle". Let &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?Y_1=d%5EM%5Cbmod%7BN%7D" align="middle" border="0" /&gt; and continue to iterate in the following manner, &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?Y_n=Y_%7Bn-1%7D%5E2" align="middle" border="0" /&gt;, until &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?n=B-1" align="middle" border="0" /&gt;. If none of these &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?Y_k%5Cequiv%7B-1%7D%5Cbmod%7BN%7D" align="middle" border="0" /&gt;, then &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?N" align="middle" border="0" /&gt; is composite. But if one does satisfy this criteria then &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?N" align="middle" border="0" /&gt; is a probable prime.&lt;br /&gt;&lt;br /&gt;Now for the reasoning behind the algorithm.  From Fermat's Little Theorem we know that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?a%5E%7Bp-1%7D%5Cequiv%7B1%7D%5Cbmod%7Bp%7D" align="middle" border="0" /&gt; where &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?p" align="middle" border="0" /&gt; is a prime and &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?gcd%28a,p%29=1" align="middle" border="0" /&gt;. Using this and a few other techniques we can see that we must have that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?Y_B%5Cequiv%7B1%7D%5Cbmod%7BN%7D" align="middle" border="0" /&gt;. Now if &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?N" align="middle" border="0" /&gt; is a prime number then &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cdisplaystyle%5Cmathbb%7BZ%7D_N" align="middle" border="0" /&gt; is a field and thus there are only 2 square roots of 1, namely 1 and negative 1. Thus if none of the &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?Y_k" align="middle" border="0" /&gt; is equivalent to negative 1 modulo &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?N" align="middle" border="0" /&gt; then we have found a third square root and can immediately conclude that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?N" align="middle" border="0" /&gt; is not prime.&lt;br /&gt;&lt;br /&gt;It can be shown (not it this post) that after running the algorithm with &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?g" align="middle" border="0" /&gt; "testers" (the random integers) which all point to &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?N" align="middle" border="0" /&gt; being prime then the probability that &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?N" align="middle" border="0" /&gt; is composite is &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?%5Cfrac%7B1%7D%7B4%5Eg%7D" align="middle" border="0" /&gt;. Also the algorithm has runtime of &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?O%5Cleft%28k%5Clog%5E3%28n%29%5Cright%29" align="middle" border="0" /&gt; where &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?k" align="middle" border="0" /&gt; is the number of testers. It should be noted that this can be improved to &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?O%5Cleft%28k%5Clog%5E2%28x%29%5Cright%29" align="middle" border="0" /&gt; if we use the &lt;a href="http://en.wikipedia.org/wiki/Fast_Fourier_transform"&gt;fast Fourier transform&lt;/a&gt; to do the multiplications.&lt;br /&gt;&lt;br /&gt;Well below is my C++ code for the Miller-Rabin algorithm.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;//a plays the role of N and b is the tester&lt;br /&gt;bool MR(long long a, long long b)&lt;br /&gt;{&lt;br /&gt;   if(gcd(a,b)!=1)&lt;br /&gt;       return false;&lt;br /&gt;   unsigned long long Y;&lt;br /&gt;   int B=0;                    //a-1=M(2^B)&lt;br /&gt;   long long M=a-1;&lt;br /&gt;   while(M%2==0)&lt;br /&gt;   {&lt;br /&gt;       B++;&lt;br /&gt;       M=M/2;&lt;br /&gt;   }&lt;br /&gt;   Y=RS(b,M,a);  //I use repeated squaring, instead of FFT, to calculate b^M&lt;br /&gt;   if(Y==1 || Y==a-1)&lt;br /&gt;       return true;&lt;br /&gt;   int j;&lt;br /&gt;   for(j between 0 and M) //this is not real code it just did this so that it would show up in blogger&lt;br /&gt;   {&lt;br /&gt;       Y=RS(Y,2,a);&lt;br /&gt;       if(Y==a-1)&lt;br /&gt;           return true;&lt;br /&gt;   }&lt;br /&gt;   return false;&lt;br /&gt;}&lt;/blockquote&gt;&lt;br /&gt;Yes I know this looks ugly (thanks a lot blogger) but it is still readable. Below is the code for the repeated squaring function.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;unsigned long long RS(long long a, long long b, long long c) // a^b mod c&lt;br /&gt;{&lt;br /&gt;   if(b==0)&lt;br /&gt;       return 1;&lt;br /&gt;   if(b%2==0)&lt;br /&gt;       return (RS(a,b/2,c)*RS(a,b/2,c))%c;&lt;br /&gt;   if(b%2==1)&lt;br /&gt;       return (a*RS(a,(b-1)/2,c)*RS(a,(b-1)/2,c))%c;&lt;br /&gt;}&lt;/blockquote&gt;&lt;br /&gt;This algorithm calculates &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?a%5En" align="middle" border="0" /&gt; in &lt;img src="http://www.forkosh.dreamhost.com/mimetex.cgi?O%5Cleft%28%5Clog%28n%29%5Cright%29" align="middle" border="0" /&gt; time. &lt;br /&gt;&lt;br /&gt;Well if any of you are compelled to try using this here are a few cool "easy" problems you can try.&lt;br /&gt;&lt;a href="http://www.spoj.pl/problems/PRIME1/"&gt;Prime Generator&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.spoj.pl/problems/PON/"&gt;Prime or Not&lt;/a&gt;&lt;br /&gt;(Note: Using Miller-Rabin might not be the best method to solve both of these problems)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-4361709008881673203?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/4361709008881673203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=4361709008881673203' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/4361709008881673203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/4361709008881673203'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/03/miller-rabin-and-primes.html' title='Miller-Rabin and Primes'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26871899.post-3675603421107557245</id><published>2008-02-26T13:47:00.003-05:00</published><updated>2008-02-26T14:45:31.823-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life Events'/><title type='text'>Dodged a Bullet</title><content type='html'>Well this is the fist time I have managed to avoid the "blah blah blah just friends blah blah blah" conversation with someone. &lt;br /&gt;&lt;br /&gt;This is all attributed to my decision to become more assertive/definite when it comes to making decisions. Before I would just be indifferent about most choices when someone else asked me make a decision. It wasn't that I didn't care what we did, it was just that I did not feel comfortable calling the shots because I would feel as if I were imposing my will on them. I guess this also might explain a few other aspects of my life, which I will not divulge into on this blog.  In any case, I was talking to the girl that I had a small crush on a few days ago. I had known her for a while so I knew there was a pretty good chance that I had been placed on the "shitty ladder." (some people refer to this as the friend zone) Regardless I decided to find out weather or not my intuition was correct. Since I knew that I didn't want to have the talk which was outlined at the beginning of this post I went about gathering the information in a more subtle manner. Either way I got what I was expecting but wishing would not happen. So I have given up on pursuing that relationship any further.&lt;br /&gt;&lt;br /&gt;It was not until today that I realized just how close I had cut it. I was talking to her and she mentioned that she was going on a date with some guy. This only a few days after asking me for advice on how to tell someone she only liked them as a friend, but not hurt them. Honestly, she was asking for the impossible.  It's understandable that she would not know just how unrealistic this is because she never been, and most likely will never be, in the other person's position. Well I gave her an honest answer, which she seemed to take quite well actually.&lt;br /&gt;&lt;br /&gt;Well I am glad that this will no longer be an issue. I can finally move on and not have any regrets about what could have been. Sorry if you are reading this post and it seems that things don't like together very well, I am just writing as things pop into my head.&lt;br /&gt;&lt;br /&gt;Until next time. I am off to do more programming.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26871899-3675603421107557245?l=risky-math.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://risky-math.blogspot.com/feeds/3675603421107557245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26871899&amp;postID=3675603421107557245' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/3675603421107557245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26871899/posts/default/3675603421107557245'/><link rel='alternate' type='text/html' href='http://risky-math.blogspot.com/2008/02/dodged-bullet.html' title='Dodged a Bullet'/><author><name>Nick</name><uri>http://www.blogger.com/profile/17888113739874713345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='http://4.bp.blogspot.com/_L0iYbx2zzdM/S31Mch9uhnI/AAAAAAAAAJE/iGuLNK9YU1M/S220/17450_1368204012171_1443819369_1002659_3792156_n2.jpg'/></author><thr:total>2</thr:total></entry></feed>
