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 30−40ms 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
vy=vsinθ,vx=vcosθ
∑F=ma=kv2−mg=(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 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