<?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-4671358572099742113</id><updated>2011-04-21T18:48:16.129-04:00</updated><title type='text'>Katie's SLOG</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://katie-slog.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://katie-slog.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Katie</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4671358572099742113.post-1409867655132924348</id><published>2008-12-05T12:48:00.004-05:00</published><updated>2008-12-05T13:31:54.763-05:00</updated><title type='text'>Test 3/End of Semester</title><content type='html'>So today was the last test. I think it went fairly well despite a rocky start (Q1 typos) and a lack of studying.&lt;br /&gt;&lt;br /&gt;My answer to Q2 was fairly horrible but Q1 and Q3 were fine so we'll see if it evens out.&lt;br /&gt;&lt;br /&gt;Overall, I think the course has been pretty good.&lt;br /&gt;&lt;br /&gt;The content was pretty interesting and it was a good combination of older stuff (induction) and newer stuff (languages).&lt;br /&gt;&lt;br /&gt;I liked the format of the course in that there was something almost every week (and I was forced to stay up to date) and assignments/problem sets were usually posted weeks before they were due.&lt;br /&gt;&lt;br /&gt;My only complaint is the Monday deadlines for the assignments. If they were due on Friday we'd have more time between the preceding problem set and the assignment (since the assignments are time consuming). While we would have less time between the assignment and test, we'd still have a week and most people probably don't spend as much time studying for the tests as they do working on the assignment (since at least I find the assignments are good preparation for the tests anyway). And the people who do start studying ridiculously early also probably start the assignments ridiculously early and can have them done by Monday and start studying as early as usual.&lt;br /&gt;&lt;br /&gt;Oh, I also did not enjoy 10am class. I complained last year about 11am class and how it was far too early and I still feel the same. 10am is brutal. Classes should not start before 2pm. Anything else is far too early.&lt;br /&gt;&lt;br /&gt;My list of things I should have done is:&lt;br /&gt;&lt;br /&gt;1. Go to lecture. Danny's explanations are generally far better than the text so it saves time not having to learn by myself out of the text (not that the text is particularly bad -- it's just long and tedious).&lt;br /&gt;2. If I sleep through lecture, go to evening lecture.&lt;br /&gt;3. Take advantage of office hours.&lt;br /&gt;4. Work ahead (even just working on that ternary trees question after A1 was due would have helped immensely).&lt;br /&gt;5. Study for tests (at least for a few hours).&lt;br /&gt;&lt;br /&gt;Ah well, there's always next semester.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4671358572099742113-1409867655132924348?l=katie-slog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://katie-slog.blogspot.com/feeds/1409867655132924348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4671358572099742113&amp;postID=1409867655132924348' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/1409867655132924348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/1409867655132924348'/><link rel='alternate' type='text/html' href='http://katie-slog.blogspot.com/2008/12/test-3end-of-semester.html' title='Test 3/End of Semester'/><author><name>Katie</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4671358572099742113.post-340142287753970732</id><published>2008-11-29T14:37:00.002-05:00</published><updated>2008-11-29T14:52:58.716-05:00</updated><title type='text'>Last Week of Class</title><content type='html'>So next week is the last week of class and I have a lot of catching up to do. I pretty much missed all last week (of every class) because I was sick and then came home because getting a doctor's appointment in Toronto seems to take months.&lt;br /&gt;&lt;br /&gt;At least I submitted A3 early when I could still remember as I wound up spending all of Monday either sleeping in my bed or trying to sleep in the emergency ward. Otherwise, I probably would've forgot about it or just slept through it like I did with my stats test.&lt;br /&gt;&lt;br /&gt;However, even before last week, I'm pretty sure I just wound up sleeping in and missing almost every lecture for this class. So now it's time to do catch up except I have a anthropological linguistics essay due on Tuesday as well as a test and then the CSC207 project due on Friday: the same day as Term Test 3.&lt;br /&gt;&lt;br /&gt;And then a week of exams.&lt;br /&gt;&lt;br /&gt;So my new plan is:&lt;br /&gt;&lt;br /&gt;Today: finish essay, read over 236 lecture slides.&lt;br /&gt;&lt;br /&gt;Sunday: start reviewing stats as my exam counts as my final mark, final edit essay, 207 project.&lt;br /&gt;&lt;br /&gt;Monday: more stats, catch up on anthro-linguistics readings.&lt;br /&gt;&lt;br /&gt;Tuesday: study for anthro-linguistics test, 207 project.&lt;br /&gt;&lt;br /&gt;Wednesday: 207 project, stats.&lt;br /&gt;&lt;br /&gt;Thursday: study for 236 test, 207 project, stats.&lt;br /&gt;&lt;br /&gt;Friday: stats, catch up on 207 (design patterns, reflection).&lt;br /&gt;&lt;br /&gt;Then weekend and next week is all studying for exams...&lt;br /&gt;&lt;br /&gt;Now if only I can stop procrastinating and stick to this plan...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4671358572099742113-340142287753970732?l=katie-slog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://katie-slog.blogspot.com/feeds/340142287753970732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4671358572099742113&amp;postID=340142287753970732' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/340142287753970732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/340142287753970732'/><link rel='alternate' type='text/html' href='http://katie-slog.blogspot.com/2008/11/last-week-of-class.html' title='Last Week of Class'/><author><name>Katie</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4671358572099742113.post-2126970230220867134</id><published>2008-11-21T02:08:00.002-05:00</published><updated>2008-11-21T02:15:35.465-05:00</updated><title type='text'>How I learned to stop worrying and love the Kleene Star...</title><content type='html'>I finished A3 today which makes me very proud.&lt;br /&gt;&lt;br /&gt;I managed to work on it consistently throughout the week while studying for stats and working on the project for 207. Anthro and calc need some attention still, but I've been working fairly diligently. :)&lt;br /&gt;&lt;br /&gt;I went to office hours today which I think helped a lot for Q3 because I felt like I had the right idea but didn't know how to structure it properly. So now while I might revise it a little more before Monday I'm fairly content with my work and hopefully will do well this time.&lt;br /&gt;&lt;br /&gt;I also managed to get some solid work done on 207 and on stats which means I shall reward myself by taking the rest of the night off to watch Fringe and then go to bed an hour or two early...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4671358572099742113-2126970230220867134?l=katie-slog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://katie-slog.blogspot.com/feeds/2126970230220867134/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4671358572099742113&amp;postID=2126970230220867134' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/2126970230220867134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/2126970230220867134'/><link rel='alternate' type='text/html' href='http://katie-slog.blogspot.com/2008/11/how-i-learned-to-stop-worrying-and-love.html' title='How I learned to stop worrying and love the Kleene Star...'/><author><name>Katie</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4671358572099742113.post-7462862287676068510</id><published>2008-11-17T21:10:00.003-05:00</published><updated>2008-11-17T21:29:34.677-05:00</updated><title type='text'>Waffle cookies are pretty much all that's keeping me from going insane.</title><content type='html'>Achk. So I got back test two and it's been my worse mark so far in the course which is rather disappointing. I'd say it's time to make it up on A3 but I really doubt that's going to happen.&lt;br /&gt;&lt;br /&gt;A3 doesn't look too bad and I've already made considerable progress (draft solutions of questions 2, 3 and 4 in one sitting) but it feels like I'm missing something.&lt;br /&gt;&lt;br /&gt;In particular, I read far too much of the textbook on my own to try to make up for not going to class and learn what's necessary for A3 and I drew a little picture for Q4 and was amazed at how nicely it works but I have no idea how to present it without my pretty picture. I was going to go to office hours today and see if I could get help but then I went home and slept instead.&lt;br /&gt;&lt;br /&gt;Ah well, today's lecture was really helpful and I think I can turn my diagram into a proper response now. Hopefully I can get everything done by Sunday at the latest and take it into office hours on Monday and see what needs last minute changes. Or if I'm feeling particularly ambitious, finish things and take it on Thursday...&lt;br /&gt;&lt;br /&gt;I need to put more effort into this class but I have a STA257 test I'm nowhere near ready for and phase III of the horrendous group project for CSC207 due the same day and then a rather horrible looking MAT235 problem set due next week as well so I have far too little time to do anything.&lt;br /&gt;&lt;br /&gt;Anyway, it's time to go back to "real" work.&lt;br /&gt;&lt;br /&gt;Goals for tonight:&lt;br /&gt;PS #6, Draft solution for A3 Q1, "Nice" solution for A3 Q2, STA257 Homework Chapter 5&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4671358572099742113-7462862287676068510?l=katie-slog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://katie-slog.blogspot.com/feeds/7462862287676068510/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4671358572099742113&amp;postID=7462862287676068510' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/7462862287676068510'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/7462862287676068510'/><link rel='alternate' type='text/html' href='http://katie-slog.blogspot.com/2008/11/waffle-cookies-are-pretty-much-all.html' title='Waffle cookies are pretty much all that&apos;s keeping me from going insane.'/><author><name>Katie</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4671358572099742113.post-6256656798831352488</id><published>2008-11-12T18:22:00.002-05:00</published><updated>2008-11-12T18:39:10.796-05:00</updated><title type='text'>Week Ten</title><content type='html'>Well, so far there really isn't much to say about week ten since I managed to sleep in both today and Monday and miss class. &lt;br /&gt;&lt;br /&gt;Test was last week and went reasonably well. Questions 1 and 2 were really easy so I just rushed into question 3 without really thinking ahead and I'm horrible at coming up with loop invariants so it really didn't go so well. But in the end, I think I finally got there, my answer was just so messy and disorganized if I was a TA I would just give me a zero instead of trying to read through it.&lt;br /&gt;&lt;br /&gt;I feel rather behind as both 207 and this class are kinda syncing up and I haven't been to either this week.&lt;br /&gt;&lt;br /&gt;I was gonna try to go to the evening lectures but I'm so behind in stats I don't know if I have time.&lt;br /&gt;&lt;br /&gt;I managed to do both the exercise for 207 and the problem set for this class though so I think I'm managing to (barely) stay afloat. I'm gonna have to read the text about this DFSA stuff but hopefully I can fit that in tomorrow and I'll be able to follow Friday's lecture alright.&lt;br /&gt;&lt;br /&gt;Plan for improvement:&lt;br /&gt;&lt;br /&gt;1. Stop missing class.&lt;br /&gt;&lt;br /&gt;2. Set aside time to do weekly homework the week its assigned so I don't get behind or have to spend as much time cramming for tests.&lt;br /&gt;&lt;br /&gt;3. Start early: I have a STA257 Term Test, MAT235 Problem Set, A3 and CSC207 Final Project all due in the same week which also happens to be the week I wanted to go home for Black Friday (although perhaps it sounds better if I say to celebrate some good ol' genocide with my family instead). Only way I'm gonna get anything done is to work ahead. I already started by getting this week's problem sets and exercises for my classes done early and I'll do the same with next week's. Then I can start my problem set and A3 on the weekend and perhaps find someone to work with (maybe not for A3 but for my problem set) and work on stats daily since it's a lot of stuff to remember and as I discovered last time cramming doesn't work.&lt;br /&gt;&lt;br /&gt;4. Work regularly: So instead of trying to do like 10 hours of work all on one day and then nothing the next day I should try and come up with a system so I work a set amount of hours each day. Right now my plan is that since if I wasn't here I'd be working at least 8 hours a day, my combined class and homework/study time should add up to at least 8 hours a day. And then maybe an hour or two of some sort of either mindless activity or preferably exercise to balance things out. So if I have 3 hours of class today I should be able to work 5 hours which seems like a lot but in the summer I spent a month and a half working 2 jobs and would often work doubles or over 16 hours a day not including commuting time so really, 5 hours doing homework isn't -that- bad. Besides, even stats is better than having to teach an old lady how to attach a picture to an email when 1. she doesn't know how to connect to the internet and 2. she didn't know (after having her computer for two years nonetheless) that you can move windows around on the screen.&lt;br /&gt;&lt;br /&gt;Now to stop procrastinating and finally start tackling stats...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4671358572099742113-6256656798831352488?l=katie-slog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://katie-slog.blogspot.com/feeds/6256656798831352488/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4671358572099742113&amp;postID=6256656798831352488' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/6256656798831352488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/6256656798831352488'/><link rel='alternate' type='text/html' href='http://katie-slog.blogspot.com/2008/11/week-ten.html' title='Week Ten'/><author><name>Katie</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4671358572099742113.post-5473178594603508031</id><published>2008-11-05T11:37:00.006-05:00</published><updated>2008-11-06T23:11:19.707-05:00</updated><title type='text'>Week 9</title><content type='html'>So, A2 marks are out and I'm a little disappointed (not the kind of heart wrenching disappointment I feel when Starbucks has no more soy milk or when Giant Tiger runs out of Arizona's ice tea, but disappointment nonetheless). I did really good on it and I certainly don't want my mark lowered, but it's kinda frustrating when I get 15% higher on A2 than on A1 considering I found A2 infinitely harder and put far less effort into it.&lt;br /&gt;&lt;br /&gt;I finished A1 almost a week before the due date and worked on it consistently from the time it was posted to when I finally finished and then reviewed it again the day it was due.&lt;br /&gt;&lt;br /&gt;A2 I did mostly late at night on little sleep and with barely any nourishment. I left it to the last minute and after I submitted it all I could think of was what I could have done better.&lt;br /&gt;&lt;br /&gt;I was expecting to do -very- poorly on A2 because of my poor work habits and instead did better than the assignment I worked diligently and responsibly on.&lt;br /&gt;&lt;br /&gt;While its a relief to know not only do I have a better shot at a 4.0 in this class now, I'm actually closer to achieving it, it's kinda frustrating when I'm seemingly rewarded for having bad work habits.&lt;br /&gt;&lt;br /&gt;Ah well, I'm sure when I get my math mark back, I'll be forced to learn my lesson (that's right, I passed MAT137 with a mediocre but still above average mark and I still do not know how to integrate).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Anyway, week 9 is a bit of an abrupt change of direction, but I think studying language is more interesting than calculating time complexity or proving program correctness (maybe it's because I'm a horrible programmer, but there is nothing that some subpar test cases and a lot of print statements can't do).&lt;br /&gt;&lt;br /&gt;It seems like 207 and this course don't match up as well as they should. We're starting to work with regular expressions and have an assignment involving it due on Monday (that was supposed to be due on Friday) and we've barely done anything on it in either course. Maybe if we started this unit a bit earlier we'd be slightly better prepared but I guess that would result in the material being too disjointed and since 207 and 236 aren't coreqs there shouldn't be a need to coordinate material...&lt;br /&gt;&lt;br /&gt;Ah well, it's time to read ahead and learn on my own instead of being spoonfed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4671358572099742113-5473178594603508031?l=katie-slog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://katie-slog.blogspot.com/feeds/5473178594603508031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4671358572099742113&amp;postID=5473178594603508031' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/5473178594603508031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/5473178594603508031'/><link rel='alternate' type='text/html' href='http://katie-slog.blogspot.com/2008/11/week-9.html' title='Week 9'/><author><name>Katie</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4671358572099742113.post-8263127044376951930</id><published>2008-11-02T21:57:00.003-05:00</published><updated>2008-11-02T22:55:30.341-05:00</updated><title type='text'>Problem Solving with Polya</title><content type='html'>Well, since A2 was due about a week ago and last year I lost a lot of marks for not doing this, it's time to document an attempt at problem solving using Polya's method.&lt;br /&gt;&lt;br /&gt;Since I am a horrible person, I've never actually used Polya's method for anything, but maybe if I did I'd be doing better in this course.&lt;br /&gt;&lt;br /&gt;The problem in question is number 3 from Assignment 2 or...&lt;br /&gt;&lt;br /&gt;Consider a grasshopper that can hop up the stairs either 1 or 3 steps at a time. Let G(n) be the number of ways it can perform the climb when there are n stairs. Prove that for n &gt;= 1, G(n) &lt;= F(n), the nth Fibonacci number.&lt;br /&gt;&lt;br /&gt;1. UNDERSTANDING THE PROBLEM&lt;br /&gt;In order to understand the problem, you need to know what the Fibonacci numbers are and how to find them: F(n) and a formula for how many ways a grasshopper can climb n steps in either 1 or 3 step increments: G(n).&lt;br /&gt;&lt;br /&gt;F(n) is widely known to be:&lt;br /&gt;F(n) = 1,                                 if n = 1, 2 (or if n = 0, 1 but both work for this problem)&lt;br /&gt;         = F(n - 1) + F(n - 2),   if n &gt; 2&lt;br /&gt;&lt;br /&gt;However G(n) is unique to this problem and will need to be solved somehow before it's possible to prove G(n) &lt;= F(n) for all n &gt; 0&lt;br /&gt;&lt;br /&gt;2. DEVISING A PLAN&lt;br /&gt;Well, it's obviously going to be necessary to solve for G(n) at some point.&lt;br /&gt;&lt;br /&gt;When I originally did this problem, I remembered that whenever we did questions in the past with Fibonacci we used induction and said that F(n) = F(n - 1) + F(n - 2) and then used our induction hypothesis so if we assumed F(n) &gt;= G(n) then F(n - 1) + F(n - 2) &gt;= G(n - 1) + G(n - 2).&lt;br /&gt;&lt;br /&gt;Unfortunately at this point it was 4am and I didn't stop and think that whenever we did problems like this whatever we were comparing F(n) to was also a recursive formula.&lt;br /&gt;Had I done this I would have not wasted a large amount of my time.&lt;br /&gt;&lt;br /&gt;I also thought that after I had a formula for G(n), proving it was less than or equal to F(n) would be so easy that finding a formula for G(n) must be the hard part.&lt;br /&gt;&lt;br /&gt;3. CARRYING OUT THE PLAN&lt;br /&gt;I then, eager to put my stats knowledge and ternary trees mode of thinking to good use, came up with an overly complicated sum of multiple summations formula for G(n) with multiple factorials thrown in haphazardly.&lt;br /&gt;&lt;br /&gt;I then tried to prove this was less than F(n) for a few hours without thinking about restating things or finding an alternate formula for G(n) or even thinking more about related questions as recommended by Polya. I tried checking each step and each time caught several horrible fallacies but my proof was still not within grasp.&lt;br /&gt;&lt;br /&gt;Around 6am, I gave up and crawled to bed and then woke up about 3 hours later and attempted other questions while trying to forget about how much that grasshopper was annoying me.&lt;br /&gt;&lt;br /&gt;Around noon, I did an important thing Polya never mentioned in his method: I harassed Daniyar in the dining hall and asked how he did it. He seemed surprised and stated that the question was easy just comparing two recursive formulas. At this point, I loudly swore and realised my mistake and brooded over my failure while eating fruit loops and cereal which at least allowed me to also brood over what a horrible person I was for eating refined sugar instead of simply contemplating switching into something useless and boring like a double major in Anthropology and Women's Studies.&lt;br /&gt;&lt;br /&gt;I then ran up to my room and attempted to look for a recursive formula for G(n) and REVISE my plan.&lt;br /&gt;&lt;br /&gt;After I saw the simple formula G(n) = G(n - 1) + G(n - 3), I resisted the urge to bang my head on my desk and typed up a blurb to convince myself and whoever marks my assignment on why this is the correct formula.&lt;br /&gt;&lt;br /&gt;Essentially, the grasshopper can only reach the nth step by jumping one step from n - 1 steps or 3 steps from n - 3 steps.&lt;br /&gt;&lt;br /&gt;I then carried out the second part of my original plan and realised how much easier it was.&lt;br /&gt;&lt;br /&gt;Assume G(n) &lt;= F(n) for all n &lt;= k - 1&lt;br /&gt;&lt;br /&gt;F(k) = F(k - 1) + F(k - 2)                                                  # def of F(n)&lt;br /&gt;         &gt;= G(k - 1) + G(k - 2)                                              # inductive hypothesis&lt;br /&gt;         = G(k - 1) + G(k - 3) + G(k - 5)                              # def of G(n)&lt;br /&gt;         = G(k) + G(k - 5)                                                      # def of G(n)&lt;br /&gt;         &gt;= G(n)                                                                      # since G(n) is nondecreasing&lt;br /&gt;&lt;br /&gt;Ofcourse you'd need a nice base case and prove G(n) is nondecreasing but both of those are easy.&lt;br /&gt;&lt;br /&gt;4. LOOKING BACK&lt;br /&gt;Well, since it's a proof it's not really necessary to prove it works, but after reviewing my answer I discovered all that was really necessary to solve the problem easily was finding G(n) and the nice simple recursive version of G(n) resulted in the same answer as my disgusting summation version but not only was considerably easier to read but made proving the statement G(n) &lt;= F(n) quite simple.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4671358572099742113-8263127044376951930?l=katie-slog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://katie-slog.blogspot.com/feeds/8263127044376951930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4671358572099742113&amp;postID=8263127044376951930' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/8263127044376951930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/8263127044376951930'/><link rel='alternate' type='text/html' href='http://katie-slog.blogspot.com/2008/11/problem-solving-with-polya.html' title='Problem Solving with Polya'/><author><name>Katie</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4671358572099742113.post-2584605572978757089</id><published>2008-10-26T18:08:00.003-04:00</published><updated>2008-10-27T20:16:21.429-04:00</updated><title type='text'>A2, PS4</title><content type='html'>I got problem set #3 back and was happy to see that for the first time there wasn't a single correction; only a "Good!". Usually I feel like I always mess up one tiny detail that seems insignificant at the time but really isn't. I was worried that maybe I wouldn't get full marks because I complicated things by creating a formula for n + 1 in terms of n and n - 1 and then using the method with the roots to create a closed form. Well, I know it wasn't necessary for that problem, I really liked the method and thought my way of solving it was better than just unwinding. Needless to say I was relieved to get my problem set back.&lt;br /&gt;&lt;br /&gt;Problem set 4 was a bit too rushed because I have so much other work (thank god I dropped from mat237 to 235 or else I don't know what I'd do)... I don't think I spent enough time on it at all. Ah well.&lt;br /&gt;&lt;br /&gt;So far I only have rough solutions for A2. And I always find presenting a solution is harder than actually finding one so I'm worried I won't have enough time to finish it tonight (and here I am reading wikipedia and updating my slog) so I should probably stop procrastinating but after sitting through a four hour long mat235 prep session I feel like I need a break...&lt;br /&gt;&lt;br /&gt;I sense another night without sleep...&lt;br /&gt;&lt;br /&gt;Work for this week:&lt;br /&gt;- A2 (due Monday) - DONE&lt;br /&gt;- CSC207 E3 (due Monday) - DONE&lt;br /&gt;- CSC207 Midterm (Wednesday)&lt;br /&gt;- MAT235 Term Test #1 (Thursday)&lt;br /&gt;- CSC207 Project Phase II (Friday)&lt;br /&gt;&lt;br /&gt;edit: as of 8:09 Monday, A2 is done! Probably half of it doesn't make sense as it was mostly done between the hours of 3 and 6 a.m. but I've never been a perfectionist...&lt;br /&gt;&lt;br /&gt;On another note, next year UofT is changing their schedule so there will be a study period before the fall semester's exams and a break during the fall semester itself... which means next year around this time I may not be so sleep deprived.&lt;br /&gt;I wonder if this is in response to the rumour that UofT has the highest suicide rate among Canadian universities...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4671358572099742113-2584605572978757089?l=katie-slog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://katie-slog.blogspot.com/feeds/2584605572978757089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4671358572099742113&amp;postID=2584605572978757089' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/2584605572978757089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/2584605572978757089'/><link rel='alternate' type='text/html' href='http://katie-slog.blogspot.com/2008/10/a2-ps4.html' title='A2, PS4'/><author><name>Katie</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4671358572099742113.post-7927306246666495833</id><published>2008-10-17T17:00:00.002-04:00</published><updated>2008-10-17T17:13:33.197-04:00</updated><title type='text'>End of Week Six</title><content type='html'>So this week we've been looking at the complexity of merge sort and the master theorem. It seems slightly more difficult than what we've been doing previously but still manageable.&lt;br /&gt;&lt;br /&gt;We got test 1 back today and now that I see how horrible some of what I wrote was I'm surprised I did as well as I did. I still think the last question was unclear. But I didn't lose too much on it, so whatevs. An example explaining it would've been nice but I guess that would've given away the base case and made it too easy.&lt;br /&gt;&lt;br /&gt;A2 is out and looks horrendous. Especially that tree question which despite the fact that it was on A1 is still harder than the rest of A2 in my humble opinion. I have no idea how I'm supposed to do a good job on the assignment when I have a test/midterm in every other class and multiple problem sets and assignments all crammed into the next two weeks.&lt;br /&gt;&lt;br /&gt;On the bright side, I really like the problem sets for this course. I find during lecture sometimes I don't understand things, but I learn it by doing the problem set which happens to be incredibly useful. They're easy enough that they're not intimidating and they reinforce the lecture material.&lt;br /&gt;&lt;br /&gt;For example, last week I thought finding a closed form for a recurrence was impossible and I didn't understand what we did in lecture at all, but having the problem set forced me to learn it on my own (and made me wonder why I even bother buying course textbooks when wikipedia explains all).&lt;br /&gt;&lt;br /&gt;Now to spend my entire weekend, studying for tests and working on assignments...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4671358572099742113-7927306246666495833?l=katie-slog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://katie-slog.blogspot.com/feeds/7927306246666495833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4671358572099742113&amp;postID=7927306246666495833' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/7927306246666495833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/7927306246666495833'/><link rel='alternate' type='text/html' href='http://katie-slog.blogspot.com/2008/10/end-of-week-six.html' title='End of Week Six'/><author><name>Katie</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4671358572099742113.post-1880248017508519172</id><published>2008-10-11T13:11:00.003-04:00</published><updated>2008-10-11T13:42:08.924-04:00</updated><title type='text'>Test 1/Assignment 1 Marks</title><content type='html'>Test 1 went alright other than the last question which was horribly unclear and I wound up writing so right on the test because it honestly seemed like it was asking you to prove the exact opposite of what you had to. Maybe I just can't read and misunderstood the question but considering this is a computer science course I think poor language skills should be expected. Just kidding. Kinda.&lt;br /&gt;&lt;br /&gt;Anyway, I made a really dumb mistake on A1 that cost me a few marks but other than that it was good. I guess there's always next time. Note to self: proof-read all questions including the last one regardless of how lazy you are.&lt;br /&gt;&lt;br /&gt;I should probably be working hard considering this is a good chance to get caught up or work ahead in all my classes but now that I'm home for the weekend and have a real kitchen I can't help but take advantage of this time to pursue my favourite past-time: turning every gathering into a potluck, bringing delicious food and then once everyone finishes, surprising them by telling them it was vegan. Now to catch up on statistics or make more cinnamon buns... mmm cinnamon buns...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4671358572099742113-1880248017508519172?l=katie-slog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://katie-slog.blogspot.com/feeds/1880248017508519172/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4671358572099742113&amp;postID=1880248017508519172' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/1880248017508519172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/1880248017508519172'/><link rel='alternate' type='text/html' href='http://katie-slog.blogspot.com/2008/10/test-1assignment-1-marks.html' title='Test 1/Assignment 1 Marks'/><author><name>Katie</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4671358572099742113.post-1239580937594042152</id><published>2008-10-06T17:43:00.004-04:00</published><updated>2008-10-06T20:07:30.529-04:00</updated><title type='text'>Week Five</title><content type='html'>Today's lecture went right over my head. I didn't really get anything about closed forms or the trees. Hell, I can't even remember what we were proving about the trees. Usually I don't have a problem following things in this class but today I couldn't focus or piece any information together at all. I guess I better read over the text and re-read the lecture notes before Wednesday. Hopefully when I'm not even more tired than usual from waking up early to write a horrible, horrible calculus quiz, it'll make more sense.&lt;br /&gt;&lt;br /&gt;I went to my registrar and dropped down to mat235 today and now feel strangely invigorated. Now that I'm not worrying about mat237 it almost feels like I'll have time for my other courses or maybe even a part-time job.&lt;br /&gt;&lt;br /&gt;I'm also a little anxious to see A1. I was definitely not as concise as I wish I was. I could've provided much clearer explanations than I did in half the words for some questions (mainly #2).&lt;br /&gt;&lt;br /&gt;I also realised that when I converted my assignment from .rtf to .txt while it did convert it to .txt it threw an ugly header with font information at the top and a bunch of slashes in the file. It's still readable, now I just feel dumb. Even after working as an apple tech support agent I'm still a mac n00b (unless it comes to start up issues or defective batteries or teaching the elderly how to attach pictures to their emails when they don't even know how to move a window).&lt;br /&gt;&lt;br /&gt;Ah well, atleast now I know how to properly use textedit for next time. *sigh*&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4671358572099742113-1239580937594042152?l=katie-slog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://katie-slog.blogspot.com/feeds/1239580937594042152/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4671358572099742113&amp;postID=1239580937594042152' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/1239580937594042152'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/1239580937594042152'/><link rel='alternate' type='text/html' href='http://katie-slog.blogspot.com/2008/10/week-five.html' title='Week Five'/><author><name>Katie</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4671358572099742113.post-5093251758277848706</id><published>2008-09-24T20:57:00.001-04:00</published><updated>2008-09-24T21:22:43.523-04:00</updated><title type='text'>Week Three</title><content type='html'>Today I sat down and worked hard.&lt;br /&gt;&lt;br /&gt;The result: it is currently 9pm-ish on a Wednesday and I have finished A1 a remarkable 5 days early.&lt;br /&gt;&lt;br /&gt;Score.&lt;br /&gt;&lt;br /&gt;Now onto more important things... like catching up on Heroes. ;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4671358572099742113-5093251758277848706?l=katie-slog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://katie-slog.blogspot.com/feeds/5093251758277848706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4671358572099742113&amp;postID=5093251758277848706' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/5093251758277848706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/5093251758277848706'/><link rel='alternate' type='text/html' href='http://katie-slog.blogspot.com/2008/09/week-three.html' title='Week Three'/><author><name>Katie</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4671358572099742113.post-3780047999750937332</id><published>2008-09-20T14:16:00.000-04:00</published><updated>2008-09-20T14:27:22.178-04:00</updated><title type='text'>Week Two/Problem Set #2</title><content type='html'>So week two of lectures passed without incident. I missed Monday's lecture because I fail at getting up early but other than that I've managed to drag myself out of bed every morning.&lt;br /&gt;&lt;br /&gt;Problem Set #2 looks pretty easy and I'm going to get it done today. I haven't gotten as much done on Assignment #1 as I had hoped. I have a couple ideas for questions 1,2 and 3 jotted down rather messily on some scrap paper and I've constructed a rather shoddy model consisting of my bulletin board, some tacks and some string forming an n sided figure inscribed in a circle. One day I should learn to visualize things in my head...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4671358572099742113-3780047999750937332?l=katie-slog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://katie-slog.blogspot.com/feeds/3780047999750937332/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4671358572099742113&amp;postID=3780047999750937332' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/3780047999750937332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/3780047999750937332'/><link rel='alternate' type='text/html' href='http://katie-slog.blogspot.com/2008/09/week-twoproblem-set-2.html' title='Week Two/Problem Set #2'/><author><name>Katie</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4671358572099742113.post-3780084743504379589</id><published>2008-09-18T00:25:00.000-04:00</published><updated>2008-09-20T14:16:04.253-04:00</updated><title type='text'>Problem Set #1 &amp; Assignment #1</title><content type='html'>Problem Set #1 wound up being a lot easier than I expected and I wound up finishing it within an hour or so. Although it's quite possible I'll get it back and discover I messed up on some seemingly insignificant detail. The questions were so similar to the lecture material that I don't think I messed up -that- badly, but you never know...&lt;br /&gt;&lt;br /&gt;Feeling rather ambitious I decided to look at assignment 1 and closed it immediately because it looked horrifying. However, after attempting my calculus homework I printed out the assignment handout, posted it on my bulletin board next to calc and decided it looked quite manageable. I knew there was a good reason to take mat237. Seeing as how the assignment is most inconveniently due on my birthday I have resolved to finish the assignment early.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4671358572099742113-3780084743504379589?l=katie-slog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://katie-slog.blogspot.com/feeds/3780084743504379589/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4671358572099742113&amp;postID=3780084743504379589' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/3780084743504379589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/3780084743504379589'/><link rel='alternate' type='text/html' href='http://katie-slog.blogspot.com/2008/09/problem-set-1-2-assignment-1.html' title='Problem Set #1 &amp; Assignment #1'/><author><name>Katie</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4671358572099742113.post-1106718420965615922</id><published>2008-09-13T16:48:00.000-04:00</published><updated>2008-09-13T17:24:19.335-04:00</updated><title type='text'>CSC236: Week 1</title><content type='html'>Well, I have successfully survived week one of classes despite this class being ridiculously early. Unfortunately, I also have an annoying one hour gap between this class and CSC207 that leaves me stranded in the Bahen Centre where I am tempted to spend my hard earned summer savings on overpriced caffeinated beverages.&lt;br /&gt;&lt;br /&gt;So far I have managed to make every class on time. I really have no excuse for sleeping in and missing class considering: one, I live in res and two, I somehow managed to wake up on time every morning during the summer to go work as a tech support agent at a call center. And quite frankly, this class is far more interesting than telling people to restart their computer all day.&lt;br /&gt;&lt;br /&gt;The class seems to essentially be a continuation of CSC165 which is a good thing. I was also happy to see a similar marking scheme to 165 so I have hope of bringing the good ol' GPA up (or atleast making up for MAT237). As well, I thoroughly enjoy the use of the tablet. It's generally really clear and easy to read. Although sometimes the writing on it can get a little messy it's far more legible than some of my other profs (anyone in the day section of STA257 can confirm this).&lt;br /&gt;&lt;br /&gt;Another positive point, I like how we have small problem sets every week (we don't have a test/major assignment) that keep me from falling behind and cramming before tests but are small enough that I don't feel like I'm going to be drowning in work every week. Oh and having our assignments posted early is nice as well.&lt;br /&gt;&lt;br /&gt;My goal for this class is going to be not to fall behind like I did last year. I'm going to try to have some sort of regular schedule for this instead of trying to do two months worth of updates in one sitting in a desperate attempt to rack up some marks before the end of term. So my list of things to do today:&lt;br /&gt;1. start slog (done)&lt;br /&gt;2. review course notes&lt;br /&gt;3. problem set #1&lt;br /&gt;4. start MAT237 homework&lt;br /&gt;&lt;br /&gt;Now to resist spending all my time trying to figure out a way to embed my list of things to do on my iCal onto this blog instead of actually completing my assignments...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4671358572099742113-1106718420965615922?l=katie-slog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://katie-slog.blogspot.com/feeds/1106718420965615922/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4671358572099742113&amp;postID=1106718420965615922' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/1106718420965615922'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4671358572099742113/posts/default/1106718420965615922'/><link rel='alternate' type='text/html' href='http://katie-slog.blogspot.com/2008/09/csc236-week-1.html' title='CSC236: Week 1'/><author><name>Katie</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
