{"id":186,"date":"2018-07-24T20:28:27","date_gmt":"2018-07-24T19:28:27","guid":{"rendered":"http:\/\/www.science-now.org\/giampaolo\/?p=186"},"modified":"2018-08-20T20:43:06","modified_gmt":"2018-08-20T19:43:06","slug":"projectile-motion-with-kepler","status":"publish","type":"post","link":"https:\/\/www.science-now.org\/giampaolo\/2018\/07\/24\/projectile-motion-with-kepler\/","title":{"rendered":"Projectile motion with Kepler!"},"content":{"rendered":"<p>Projectile motion is found in every physics book but usually its equations are for a projective travelling in vacuum. What about include air drag and solving the resulting differential equation in a very simple way?<\/p>\n<p><!--more--><\/p>\n<p>Let&#8217;s analyse the forces acting on the projectile during its flight. The gravity forces is pulling downwards with a strength of W = m g, where m is the projectile mass and g the gravity acceleration.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-187\" src=\"http:\/\/www.science-now.org\/giampaolo\/wp-content\/uploads\/2018\/08\/forces.png\" alt=\"\" width=\"70%\" srcset=\"https:\/\/www.science-now.org\/giampaolo\/wp-content\/uploads\/2018\/08\/forces.png 630w, https:\/\/www.science-now.org\/giampaolo\/wp-content\/uploads\/2018\/08\/forces-261x300.png 261w\" sizes=\"(max-width: 630px) 100vw, 630px\" \/><\/p>\n<p>Regarding the aerodynamic drag, it&#8217;s proportional to the air density, body surface, and to the velocity squared by means of the proportionality factor CD,<\/p>\n<p>$$<br \/>\nF_A = \\frac{1}{2} \\rho S C_D (V_x^2+V_y^2)<br \/>\n$$<\/p>\n<p>It is decomposed in horizontal and vertical components <\/p>\n<p>$$<br \/>\nF_{A_x} = F_A \\cos \\alpha<br \/>\n$$<\/p>\n<p>$$<br \/>\nF_{A_y} = F_A \\sin \\alpha<br \/>\n$$<\/p>\n<p>where the trigonometric functions are expressed as<\/p>\n<p>$$<br \/>\n\\cos \\alpha = \\frac{V_x}{\\sqrt{V_x^2+V_y^2}}<br \/>\n$$<\/p>\n<p>$$<br \/>\n\\sin \\alpha = \\frac{V_y}{\\sqrt{V_x^2+V_y^2}}<br \/>\n$$<\/p>\n<p>Applying Newton&#8217;s second law which links the sum of forces to the product of mass and time-derivative of velocity, we have a first order differential equations for direction,<\/p>\n<p>$$<br \/>\n\\frac{dV_x}{dt} = &#8211; \\frac{\\rho S C_D V_x }{2 m} \\sqrt{V_x^2+V_y^2}<br \/>\n$$<\/p>\n<p>$$<br \/>\n\\frac{dV_y}{dt} = &#8211; \\frac{\\rho S C_D V_y }{2 m} \\sqrt{V_x^2+V_y^2} &#8211; g<br \/>\n$$<\/p>\n<p>The trajectory can be easily obtained by noticing that velocity is the derivative of position,<\/p>\n<p>$$<br \/>\n\\frac{dx}{dt} = V_x<br \/>\n$$<\/p>\n<p>$$<br \/>\n\\frac{dy}{dt} = V_y<br \/>\n$$<\/p>\n<p>Once we have the equations, we have now to integrate them. We&#8217;re going to use a brilliant software called Kepler (official website: <a href=\"https:\/\/kepler-project.org\/\" rel=\"noopener\" target=\"_blank\">kepler-project<\/a>). It is a software very useful to define scientific workflows by easily drag-and-drop components called &#8220;actors&#8221;. Solving the set of 4 equations (two for the speed and two for the projectile position) becomes this tidy workflow<\/p>\n<p><a href=\"http:\/\/www.science-now.org\/giampaolo\/wp-content\/uploads\/2018\/08\/parabolicMotion.png\"><img decoding=\"async\" src=\"http:\/\/www.science-now.org\/giampaolo\/wp-content\/uploads\/2018\/08\/parabolicMotion.png\" alt=\"\" width=\"80%\" class=\"aligncenter size-full wp-image-189\" srcset=\"https:\/\/www.science-now.org\/giampaolo\/wp-content\/uploads\/2018\/08\/parabolicMotion.png 960w, https:\/\/www.science-now.org\/giampaolo\/wp-content\/uploads\/2018\/08\/parabolicMotion-300x196.png 300w, https:\/\/www.science-now.org\/giampaolo\/wp-content\/uploads\/2018\/08\/parabolicMotion-768x502.png 768w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>Parameters such as mass and cross surface area are given on the left side while other components are in charge of interactively integrate the equations. When you press the Run button, this is the final results:<\/p>\n<p><a href=\"http:\/\/www.science-now.org\/giampaolo\/wp-content\/uploads\/2018\/08\/result.png\"><img decoding=\"async\" src=\"http:\/\/www.science-now.org\/giampaolo\/wp-content\/uploads\/2018\/08\/result.png\" alt=\"\" width=\"80%\" class=\"aligncenter size-full wp-image-190\" srcset=\"https:\/\/www.science-now.org\/giampaolo\/wp-content\/uploads\/2018\/08\/result.png 2560w, https:\/\/www.science-now.org\/giampaolo\/wp-content\/uploads\/2018\/08\/result-300x170.png 300w, https:\/\/www.science-now.org\/giampaolo\/wp-content\/uploads\/2018\/08\/result-768x436.png 768w, https:\/\/www.science-now.org\/giampaolo\/wp-content\/uploads\/2018\/08\/result-1024x581.png 1024w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>where the trajectory is given by the XY Plotter. You can noticing that the projectile starts falling vertically at a certain point and it reaches its terminal velocity. <\/p>\n<p>And now, it&#8217;s time to play with parameters! Set CD = 0 to remove any air drag and the results will be<\/p>\n<p><a href=\"http:\/\/www.science-now.org\/giampaolo\/wp-content\/uploads\/2018\/08\/result2.png\"><img decoding=\"async\" src=\"http:\/\/www.science-now.org\/giampaolo\/wp-content\/uploads\/2018\/08\/result2.png\" alt=\"\" width=\"80%\" class=\"aligncenter size-full wp-image-191\" srcset=\"https:\/\/www.science-now.org\/giampaolo\/wp-content\/uploads\/2018\/08\/result2.png 2560w, https:\/\/www.science-now.org\/giampaolo\/wp-content\/uploads\/2018\/08\/result2-300x170.png 300w, https:\/\/www.science-now.org\/giampaolo\/wp-content\/uploads\/2018\/08\/result2-768x436.png 768w, https:\/\/www.science-now.org\/giampaolo\/wp-content\/uploads\/2018\/08\/result2-1024x581.png 1024w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>very different, isn&#8217;t it? And what&#8217;s happening to the vertical speed?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Projectile motion is found in every physics book but usually its equations are for a projective travelling in vacuum. What about include air drag and solving the resulting differential equation in a very simple way?<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,9],"tags":[23,31,30],"class_list":["post-186","post","type-post","status-publish","format-standard","hentry","category-aeronautical-engineering","category-programming","tag-aerodynamics","tag-kepler","tag-projectile-motion"],"_links":{"self":[{"href":"https:\/\/www.science-now.org\/giampaolo\/wp-json\/wp\/v2\/posts\/186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.science-now.org\/giampaolo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.science-now.org\/giampaolo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.science-now.org\/giampaolo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.science-now.org\/giampaolo\/wp-json\/wp\/v2\/comments?post=186"}],"version-history":[{"count":2,"href":"https:\/\/www.science-now.org\/giampaolo\/wp-json\/wp\/v2\/posts\/186\/revisions"}],"predecessor-version":[{"id":192,"href":"https:\/\/www.science-now.org\/giampaolo\/wp-json\/wp\/v2\/posts\/186\/revisions\/192"}],"wp:attachment":[{"href":"https:\/\/www.science-now.org\/giampaolo\/wp-json\/wp\/v2\/media?parent=186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.science-now.org\/giampaolo\/wp-json\/wp\/v2\/categories?post=186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.science-now.org\/giampaolo\/wp-json\/wp\/v2\/tags?post=186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}