{"id":4290,"date":"2015-04-06T00:47:49","date_gmt":"2015-04-06T04:47:49","guid":{"rendered":"http:\/\/pages.vassar.edu\/magnes\/?p=4290"},"modified":"2015-04-13T10:13:41","modified_gmt":"2015-04-13T14:13:41","slug":"orbital-motion-simulation-frye-and-gittins","status":"publish","type":"post","link":"https:\/\/pages.vassar.edu\/magnes\/2015\/04\/06\/orbital-motion-simulation-frye-and-gittins\/","title":{"rendered":"Orbital Motion Simulation &#8211; Frye and Gittins"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>We plan on modeling objects in orbital motion, namely the sun and earth, the earth and moon, the three together, and finally an orbit of two large-massed bodies, such as the sun and another star.<\/p>\n<p>The programming steps we need to take are straightforward in theory. We have already settled on using the Euler-Cromer method on MatLab to simulate the motion. We have access and prior knowledge of Newton\u2019s laws and Kepler\u2019s laws of motion, as shown below. \u00a0The potentially difficult part will be writing a program that will be able to track the motion of several bodies simultaneously, with the capability of visualization, such as a moving graphic.<\/p>\n<p>&nbsp;<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 38px;\"><span class=\"ql-right-eqno\"> (1) <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pages.vassar.edu\/magnes\/wp-content\/ql-cache\/quicklatex.com-d9875d445a9ea24932b4696aa26f7590_l3.png\" height=\"38\" width=\"118\" class=\"ql-img-displayed-equation \" alt=\"&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;&#32;&#92;&#32;&#70;&#95;&#123;&#71;&#125;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#71;&#77;&#95;&#123;&#83;&#125;&#77;&#95;&#123;&#69;&#125;&#125;&#123;&#114;&#94;&#123;&#94;&#123;&#50;&#125;&#125;&#125;&#32;&#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>where Ms is the mass of the sun and Me is the mass of the earth.<\/p>\n<p>&nbsp;<\/p>\n<p>Kepler\u2019s Laws:<\/p>\n<ul>\n<li>All planets move in elliptical orbits with the Sun at one focus.<\/li>\n<li>The line joining a planet to the Sun sweeps out equal areas in equal times.<\/li>\n<li>If <i>T<\/i> is the period and <i>a<\/i> the semimajor axis of the orbit, then T^2\/a^3<\/li>\n<\/ul>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 42px;\"><span class=\"ql-right-eqno\"> (2) <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pages.vassar.edu\/magnes\/wp-content\/ql-cache\/quicklatex.com-11d6ca5517a198c050df14869e04f382_l3.png\" height=\"42\" width=\"86\" class=\"ql-img-displayed-equation \" alt=\"&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;&#32;&#92;&#102;&#114;&#97;&#99;&#32;&#123;&#100;&#94;&#123;&#50;&#125;&#120;&#125;&#123;&#100;&#116;&#94;&#123;&#50;&#125;&#125;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#32;&#123;&#70;&#95;&#123;&#71;&#120;&#125;&#125;&#123;&#77;&#95;&#123;&#69;&#125;&#125;&#32;&#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 42px;\"><span class=\"ql-right-eqno\"> (3) <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pages.vassar.edu\/magnes\/wp-content\/ql-cache\/quicklatex.com-6d8f19497ac2e1f79d39efd6cb58465e_l3.png\" height=\"42\" width=\"85\" class=\"ql-img-displayed-equation \" alt=\"&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;&#32;&#92;&#102;&#114;&#97;&#99;&#32;&#123;&#100;&#94;&#123;&#50;&#125;&#121;&#125;&#123;&#100;&#116;&#94;&#123;&#50;&#125;&#125;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#32;&#123;&#70;&#95;&#123;&#71;&#121;&#125;&#125;&#123;&#77;&#95;&#123;&#69;&#125;&#125;&#32;&#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p>&nbsp;<\/p>\n<p>from which we can derive the equation:<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 37px;\"><span class=\"ql-right-eqno\"> (4) <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pages.vassar.edu\/magnes\/wp-content\/ql-cache\/quicklatex.com-f6196518bcbe3d7b4e06af274b40543e_l3.png\" height=\"37\" width=\"300\" class=\"ql-img-displayed-equation \" alt=\"&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;&#32;&#92;&#32;&#70;&#95;&#123;&#71;&#120;&#125;&#61;&#45;&#92;&#102;&#114;&#97;&#99;&#123;&#71;&#77;&#95;&#123;&#83;&#125;&#77;&#95;&#123;&#69;&#125;&#125;&#123;&#114;&#94;&#123;&#50;&#125;&#125;&#92;&#99;&#111;&#115;&#123;&#92;&#116;&#104;&#101;&#116;&#97;&#125;&#61;&#45;&#92;&#102;&#114;&#97;&#99;&#123;&#71;&#77;&#95;&#123;&#83;&#125;&#77;&#95;&#123;&#69;&#125;&#120;&#125;&#123;&#114;&#94;&#123;&#51;&#125;&#125;&#32;&#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p>for the x-direction. A similar equation can be found for the y-direction. For the equations of motion that will be put into the Euler-Cromer program, we will use equations similar to those derived in Giordano.<\/p>\n<p><strong><strong>\u00a0<\/strong><\/strong><\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 45px;\"><span class=\"ql-right-eqno\"> (5) <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pages.vassar.edu\/magnes\/wp-content\/ql-cache\/quicklatex.com-7c7b6742c9153838bc8cb6297e6351f5_l3.png\" height=\"45\" width=\"182\" class=\"ql-img-displayed-equation \" alt=\"&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;&#32;&#92;&#32;&#118;&#95;&#123;&#120;&#44;&#105;&#43;&#49;&#125;&#61;&#118;&#95;&#123;&#120;&#44;&#105;&#125;&#45;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#52;&#92;&#112;&#105;&#94;&#123;&#50;&#125;&#120;&#95;&#123;&#105;&#125;&#125;&#123;&#114;&#95;&#123;&#105;&#125;&#94;&#123;&#51;&#125;&#125;&#92;&#68;&#101;&#108;&#116;&#97;&#123;&#116;&#125;&#32;&#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 17px;\"><span class=\"ql-right-eqno\"> (6) <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pages.vassar.edu\/magnes\/wp-content\/ql-cache\/quicklatex.com-5a7f709c11890e8e451ec533ee7d5c8f_l3.png\" height=\"17\" width=\"158\" class=\"ql-img-displayed-equation \" alt=\"&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;&#32;&#92;&#32;&#120;&#95;&#123;&#105;&#43;&#49;&#125;&#61;&#120;&#95;&#123;&#105;&#125;&#43;&#118;&#95;&#123;&#120;&#44;&#105;&#43;&#49;&#125;&#92;&#68;&#101;&#108;&#116;&#97;&#123;&#116;&#125;&#32;&#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 45px;\"><span class=\"ql-right-eqno\"> (7) <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pages.vassar.edu\/magnes\/wp-content\/ql-cache\/quicklatex.com-e120fd151d556f28a1059681f5cb8cbe_l3.png\" height=\"45\" width=\"180\" class=\"ql-img-displayed-equation \" alt=\"&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;&#32;&#92;&#32;&#118;&#95;&#123;&#121;&#44;&#105;&#43;&#49;&#125;&#61;&#118;&#95;&#123;&#121;&#44;&#105;&#125;&#45;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#52;&#92;&#112;&#105;&#94;&#123;&#50;&#125;&#121;&#95;&#123;&#105;&#125;&#125;&#123;&#114;&#95;&#123;&#105;&#125;&#94;&#123;&#51;&#125;&#125;&#92;&#68;&#101;&#108;&#116;&#97;&#123;&#116;&#125;&#32;&#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 17px;\"><span class=\"ql-right-eqno\"> (8) <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pages.vassar.edu\/magnes\/wp-content\/ql-cache\/quicklatex.com-0ef55f122b4d0ab8b05e7dc766497953_l3.png\" height=\"17\" width=\"155\" class=\"ql-img-displayed-equation \" alt=\"&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;&#32;&#92;&#32;&#121;&#95;&#123;&#105;&#43;&#49;&#125;&#61;&#121;&#95;&#123;&#105;&#125;&#43;&#118;&#95;&#123;&#121;&#44;&#105;&#43;&#49;&#125;&#92;&#68;&#101;&#108;&#116;&#97;&#123;&#116;&#125;&#32;&#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>For preliminary data, we hope to have a primitive program that has the capability of simulating a simple Earth-Sun orbit, assuming that the Sun is so massive (compared to Earth) that it does not move. We hope to have an appropriate visualisation, a moving plot, to apply to the data. At this time we will need to heavily research the physics of the situation, including providing details of what is physically incorrect about our simulation and the amount of error these details create. The defense of this simulation, including pros and cons of the Euler-Cromer method in this case, will be in the preliminary data.<\/p>\n<p>The second goal is to make the system more complicated, either adding the moon or another planet to the existing system. As in the first set of data, we will need to analyze it for flaws. We anticipate this to be the most difficult programming challenge, as there are three systems moving simultaneously, and also the most complex error analysis.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-4239\" src=\"http:\/\/pages.vassar.edu\/magnes\/files\/2015\/04\/Screen-Shot-2015-04-01-at-12.10.11-AM-300x282.png\" alt=\"Screen Shot 2015-04-01 at 12.10.11 AM\" width=\"300\" height=\"282\" srcset=\"https:\/\/pages.vassar.edu\/magnes\/files\/2015\/04\/Screen-Shot-2015-04-01-at-12.10.11-AM-300x282.png 300w, https:\/\/pages.vassar.edu\/magnes\/files\/2015\/04\/Screen-Shot-2015-04-01-at-12.10.11-AM.png 607w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Finally, we plan to model a system in which each mass is in motion, for example, two large suns or a star and a large planet. \u00a0At this point, we will be fairly comfortable with the Euler-Cromer method applied to this system. Here, we will truly analyze the flaws with the method and compare and contrast these flaws, and its strengths, with other methods we have learned in class. This will also provide insight into our previous simulations and their errors, as the sun is not un-moving as we assume previously.<\/p>\n<p><a href=\"http:\/\/pages.vassar.edu\/magnes\/files\/2015\/04\/two-massiv.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-4298\" src=\"http:\/\/pages.vassar.edu\/magnes\/files\/2015\/04\/two-massiv-300x174.jpg\" alt=\"two massiv\" width=\"300\" height=\"174\" srcset=\"https:\/\/pages.vassar.edu\/magnes\/files\/2015\/04\/two-massiv-300x174.jpg 300w, https:\/\/pages.vassar.edu\/magnes\/files\/2015\/04\/two-massiv-624x363.jpg 624w, https:\/\/pages.vassar.edu\/magnes\/files\/2015\/04\/two-massiv.jpg 948w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>We hope the final program will appear\u00a0similar to the ones shown in\u00a0Giordano and the exploration of orbits done by Moler.<\/p>\n<p>&nbsp;<\/p>\n<p>Timeline:<\/p>\n<p>Week 1: Research more equations and pseudo codes that relate to our simulation.<\/p>\n<p>Week 2: Write a primitive program to simulate the earth and the sun orbit. Calculate error.<\/p>\n<p>Week 3: Finish Earth-Sun simulation. Begin writing program for Moon-Earth-Sun by working with program from Week 2. Begin writing primitive program for two massive planets or stars.<\/p>\n<p>Week 4: Finish program for two massive planets or stars. Calculate error. Troubleshoot Moon-Earth-Sun program.<\/p>\n<p>Week 5: Finish all programs and prepare for presentations.<\/p>\n<p>&nbsp;<\/p>\n<p>Resources<\/p>\n<ol>\n<li>Giordano.\u00a0<em>Computational Physics,\u00a0<\/em>2006.<\/li>\n<li>Moler, Cleve. &#8220;Orbits,&#8221;\u00a0<em>MathWorks Inc<\/em>, 2011.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; We plan on modeling objects in orbital motion, namely the sun and earth, the earth and moon, the three together, and finally an orbit of two large-massed bodies, such as the sun and another star. The programming steps we need to take are straightforward in theory. We have already settled on using the Euler-Cromer [&hellip;]<\/p>\n","protected":false},"author":3044,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4290","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/posts\/4290","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/users\/3044"}],"replies":[{"embeddable":true,"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/comments?post=4290"}],"version-history":[{"count":17,"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/posts\/4290\/revisions"}],"predecessor-version":[{"id":4516,"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/posts\/4290\/revisions\/4516"}],"wp:attachment":[{"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/media?parent=4290"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/categories?post=4290"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/tags?post=4290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}