{"id":1082,"date":"2014-01-13T01:06:57","date_gmt":"2014-01-13T01:06:57","guid":{"rendered":"http:\/\/blogs.oregonstate.edu\/glencora\/?p=1082"},"modified":"2014-04-11T17:20:17","modified_gmt":"2014-04-11T17:20:17","slug":"bringing-current-events-technical-classroom","status":"publish","type":"post","link":"https:\/\/blogs.oregonstate.edu\/glencora\/2014\/01\/13\/bringing-current-events-technical-classroom\/","title":{"rendered":"Bringing current events into the technical classroom"},"content":{"rendered":"<p>I spent last summer thinking about how to bring something related to the climate crisis into my fall undergraduate algorithms class.\u00a0 In this class, I have converged on having 4-5 projects covering iterative, divide and conquer, dynamic programming, linear programming and heuristics.\u00a0 These projects each have a practical component where an algorithm is implemented.\u00a0 Linear programming seemed to be the tool that I could use to &#8220;solve&#8221; some problem in climate change.\u00a0 It wasn&#8217;t until I stumbled upon <a href=\"http:\/\/arxiv.org\/abs\/1209.0624\">this article<\/a> by Robert Vanderbei suggesting an upper-level class project wherein students fit a curve to daily temperature recordings.\u00a0 The suggested curve is the superposition of<\/p>\n<ul>\n<li>a sinusoidal curve with a period of one year to model the change in seasons,<\/li>\n<li>a sinusoidal curve with a period of 10.7 years to model the solar cycle, and<\/li>\n<li>a linear term representing any drift in mean daily temperatures.<\/li>\n<\/ul>\n<p>I adapted the suggested project to my class and had them fit such a curve, using GLPK, to 60 years of daily temperature recordings for Corvallis.<\/p>\n<p><a href=\"http:\/\/blogs.oregonstate.edu\/glencora\/files\/2014\/01\/Corvallis_plot_min_max.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-1083\" alt=\"Corvallis_plot_min_max\" src=\"http:\/\/blogs.oregonstate.edu\/glencora\/files\/2014\/01\/Corvallis_plot_min_max-1024x297.png\" width=\"819\" height=\"238\" srcset=\"https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/1080\/files\/2014\/01\/Corvallis_plot_min_max-1024x297.png 1024w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/1080\/files\/2014\/01\/Corvallis_plot_min_max-300x87.png 300w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/1080\/files\/2014\/01\/Corvallis_plot_min_max-400x116.png 400w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/1080\/files\/2014\/01\/Corvallis_plot_min_max.png 1910w\" sizes=\"auto, (max-width: 819px) 100vw, 819px\" \/><\/a><\/p>\n<p>I provided the students with the data and offered bonus credit for students who repeated the project for another location (downloading data from NOAA).\u00a0 The students found the project challenging but seemed to appreciate the tangibility of the project, so I think I will likewise adapt other projects. The students could then interpret the coefficient of the linear term as the amount of warming in average daily temperatures.<\/p>\n<p>A few interesting things came up.\u00a0 For example, apparently two different versions of GLPK find two different &#8220;optimal&#8221; solutions to the same LP &#8212; with different values.\u00a0 For more details, please see the <a href=\"http:\/\/blogs.oregonstate.edu\/glencora\/?attachment_id=1084\">project description<\/a>.<\/p>\n<p>Next year, I think I will have them choose their own location by default as I think it is a useful experience to clean data &#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I spent last summer thinking about how to bring something related to the climate crisis into my fall undergraduate algorithms class.\u00a0 In this class, I have converged on having 4-5 projects covering iterative, divide and conquer, dynamic programming, linear programming and heuristics.\u00a0 These projects each have a practical component where an algorithm is implemented.\u00a0 Linear [&hellip;]<\/p>\n","protected":false},"author":3747,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[187573,112,106190,1000,3514],"class_list":["post-1082","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-algorithms","tag-climate-change","tag-tcs","tag-teaching","tag-undergraduate"],"_links":{"self":[{"href":"https:\/\/blogs.oregonstate.edu\/glencora\/wp-json\/wp\/v2\/posts\/1082","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.oregonstate.edu\/glencora\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.oregonstate.edu\/glencora\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/glencora\/wp-json\/wp\/v2\/users\/3747"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/glencora\/wp-json\/wp\/v2\/comments?post=1082"}],"version-history":[{"count":6,"href":"https:\/\/blogs.oregonstate.edu\/glencora\/wp-json\/wp\/v2\/posts\/1082\/revisions"}],"predecessor-version":[{"id":1124,"href":"https:\/\/blogs.oregonstate.edu\/glencora\/wp-json\/wp\/v2\/posts\/1082\/revisions\/1124"}],"wp:attachment":[{"href":"https:\/\/blogs.oregonstate.edu\/glencora\/wp-json\/wp\/v2\/media?parent=1082"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/glencora\/wp-json\/wp\/v2\/categories?post=1082"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/glencora\/wp-json\/wp\/v2\/tags?post=1082"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}