Monday, 14 March 2016

homework and exercises - Projectile Motion with Drag



The overall goal is to write a Mathematica program that will compute the launch angle that will yield the greatest range with using [RandomInt] function, but I was having trouble with the physics.


In 2D Trajection with no friction, the greatest range came at angle 45.


But using the quadratic model of friction,


Fdrag=kv2,k=12CDρA


where ρ is the density of air, A is the cross sectional area of the moving object (circle in this case), and CD is the drag coefficient. v2=v2x+v2y


At this point, I'm not sure on how to set up the problem, as v is dependent on both vx and vy, and cannot be modeled as linearly independent of each other.


Some given parameters of the sphere projectile: (I'm assuming these values can be easily plugged into the general equation when writing the program)


Intial Velocity = Between 3040ms Mass = 0.145 kg Radius = 0.0367 m Air density = 1.2kg/m3 Drag Coefficient = 0.46




How would I incorporate both velocities in an equation? For simple kinematics, it is simply: TotalRange=vxt

and we solved for vx by using trig properties from v0. But is it correct to model this drag force with the same trig properties?



vy=vsinθ,vx=vcosθ


F=ma=kv2mg=(12CDρA(vsinθ2+vcosθ2)mg



Answer



In two dimensions, Newton's second law can be written in vector form as Fnet=ma

In this case, the net force is Fnet=mgkv2vv=mgkvv
so the equation of motion is ma=mgkvv
In components, if we choose the positive y direction to be vertical, and using v=v2x+v2y as you point out, we obtain max=kv2x+v2yvx,may=mgkv2x+v2yvy
as you can see, these differential equations are coupled; the x equation involves vy and the y-equation involves vx unlike the case in which there is no drag. You should be able to numerically solve these simultaneous equations pretty easily on Mathematica.


In particular, you can solve these equations by specifying the initial position x(0)=(x(0),y(0) and the initial velocity v(0)=(vx(0),vy(0))=(v(0)cosθ,v(0)sinθ) where θ is the initial angle at which the projectile is launched.


No comments:

Post a Comment

Understanding Stagnation point in pitot fluid

What is stagnation point in fluid mechanics. At the open end of the pitot tube the velocity of the fluid becomes zero.But that should result...