
{"id":33,"date":"2014-01-14T12:09:08","date_gmt":"2014-01-14T17:09:08","guid":{"rendered":"https:\/\/pdhorn.expressions.syr.edu\/spring2014mat414\/?p=33"},"modified":"2014-01-14T12:10:09","modified_gmt":"2014-01-14T17:10:09","slug":"direction-fields-in-sage","status":"publish","type":"post","link":"https:\/\/pdhorn.expressions.syr.edu\/spring2014mat414\/direction-fields-in-sage\/","title":{"rendered":"Direction fields in Sage"},"content":{"rendered":"<p>In class I discussed the Mice vs Owl model and generated a direction field on my computer.  You can do this, too, for free.<\/p>\n<p>Sage is a computer algebra system (read, fancier than a graphing calculator thingy you can use on your computer) that you can use <a href=\"http:\/\/www.sagenb.org\">online<\/a> or <a href=\"http:\/\/www.sagemath.org\">download<\/a>.  Sage has a built in command for generating direction fields, or slope fields.  Below is the code I used to generate the slope field you saw in class.<\/p>\n<p><code> p,t = var('p,t');<br \/>\nplot_slope_field( .5*p - 450, (t,0,5), (p,800,1000))<\/code><\/p>\n<p><a href=\"https:\/\/pdhorn.expressions.syr.edu\/spring2014mat414\/files\/2014\/01\/slope_field.png\"><img loading=\"lazy\" src=\"https:\/\/pdhorn.expressions.syr.edu\/spring2014mat414\/files\/2014\/01\/slope_field-300x223.png\" alt=\"slope_field\" width=\"300\" height=\"223\" class=\"alignleft size-medium wp-image-35\" srcset=\"https:\/\/pdhorn.expressions.syr.edu\/spring2014mat414\/files\/2014\/01\/slope_field-300x223.png 300w, https:\/\/pdhorn.expressions.syr.edu\/spring2014mat414\/files\/2014\/01\/slope_field-624x465.png 624w, https:\/\/pdhorn.expressions.syr.edu\/spring2014mat414\/files\/2014\/01\/slope_field.png 783w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In class I discussed the Mice vs Owl model and generated a direction field on my computer. You can do this, too, for free. Sage is a computer algebra system (read, fancier than a graphing calculator thingy you can use on your computer) that you can use online or download. Sage has a built in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/pdhorn.expressions.syr.edu\/spring2014mat414\/wp-json\/wp\/v2\/posts\/33"}],"collection":[{"href":"https:\/\/pdhorn.expressions.syr.edu\/spring2014mat414\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pdhorn.expressions.syr.edu\/spring2014mat414\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pdhorn.expressions.syr.edu\/spring2014mat414\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pdhorn.expressions.syr.edu\/spring2014mat414\/wp-json\/wp\/v2\/comments?post=33"}],"version-history":[{"count":2,"href":"https:\/\/pdhorn.expressions.syr.edu\/spring2014mat414\/wp-json\/wp\/v2\/posts\/33\/revisions"}],"predecessor-version":[{"id":36,"href":"https:\/\/pdhorn.expressions.syr.edu\/spring2014mat414\/wp-json\/wp\/v2\/posts\/33\/revisions\/36"}],"wp:attachment":[{"href":"https:\/\/pdhorn.expressions.syr.edu\/spring2014mat414\/wp-json\/wp\/v2\/media?parent=33"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pdhorn.expressions.syr.edu\/spring2014mat414\/wp-json\/wp\/v2\/categories?post=33"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pdhorn.expressions.syr.edu\/spring2014mat414\/wp-json\/wp\/v2\/tags?post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}