Free fall velocity with air resistance/drag

Click For Summary
SUMMARY

This discussion focuses on modeling free fall motion with air resistance using the equation dv/dt = a - bv, where 'a' represents acceleration and 'b' is a drag coefficient. The user is tasked with coding this equation into a graph for a physics course, specifically Mathematical and Computational Methods for Physicists. Key insights include that the terminal velocity can be expressed as v_t = mg/b, and that acceleration 'a' should be set to the gravitational constant g = 9.81 m/s². The conversation emphasizes the importance of user input for the drag coefficient 'b' and clarifies that the equation does not depend on mass.

PREREQUISITES
  • Understanding of differential equations, specifically first-order linear equations.
  • Familiarity with the concepts of acceleration, velocity, and drag force in physics.
  • Basic programming skills for implementing mathematical models in code.
  • Knowledge of terminal velocity and its significance in free fall scenarios.
NEXT STEPS
  • Research how to implement numerical methods for solving differential equations in programming languages like Python or MATLAB.
  • Explore the concept of drag coefficients and how to determine realistic values for different fluids.
  • Learn about graphical libraries in programming (e.g., Matplotlib for Python) to visualize the motion of objects under air resistance.
  • Investigate the effects of varying initial conditions on the behavior of free fall motion with air resistance.
USEFUL FOR

Students and educators in physics, particularly those involved in computational modeling of physical phenomena, as well as programmers looking to apply mathematical concepts in coding simulations.

RJLiberator
Gold Member
Messages
1,094
Reaction score
63

Homework Statement


I am analyzing free fall motion in my computer code class.
We haven't really discussed much about air resistance and it is a bit of a foreign topic for me.
I am searching the internet as much as I can for information on it, but would really appreciate talking to someone here regarding it.

What I've been giving is
F_d = -bv where b is a constant and v is velocity.
Teacher said to use our decay problem as an example code for this. Suggesting that I may use something of the form Ae^...

I'm just not sure how this all relates. I search online and it seems like there are many many different types/examples of air resistance equations/examples.
 
Physics news on Phys.org
So I'm observing
v(t) = mg/b-(e^(-bt))*mg/b
But, in my problem there is no mass.
 
Sorry to bump, this will be the last time.

I have to code this guy into a free fall problem, problem is, I haven't really worked with air resistance.

Many of the sites (youtube videos and the like) all have the drag force dealing with mass and other such things that I do not consider in my coding problem.

The teacher only gave us this problem:

dv/dt = a - bv

I tried solving this with my limited knowledge of differential equations and found
a = e^(-bt)+bv
But this doesn't make much sense to me as, how can a be a part of the velocity graph.
If acceleration mean the change in velocity maybe I could look at it as a time step? But then e^(-bt) is dependent on time anyway.
 
Show us how you solved the differential equation, please.
 
  • Like
Likes   Reactions: RJLiberator
Will do.

dv/dt = a - bv

Divide across by dv

1/dt = (a-bv)/dv
flip everything (inverse)
dt = dv/(a-bv)

integrate
t = -log(a-bv)/b

Multiply both sides by -b
-bt = log(a-bv)

exponentiate
e^(-bt) = a-bv

a = e^(-bt)+bv
 
RJLiberator said:
Will do.

dv/dt = a - bv

Divide across by dv

1/dt = (a-bv)/dv
flip everything (inverse)
dt = dv/(a-bv)

integrate
t = -log(a-bv)/b

Multiply both sides by -b
-bt = log(a-bv)

exponentiate
e^(-bt) = a-bv

a = e^(-bt)+bv
You left out the constant of integration, required to satisfy the initial condition at t = 0.
 
  • Like
Likes   Reactions: RJLiberator
At time = 0 there would be an initial velocity?

So would it just become a = e^(-bt)+bv-v_i
 
RJLiberator said:
At time = 0 there would be an initial velocity?

So would it just become a = e^(-bt)+bv-v_i
The initial velocity is zero, and your equation doesn't satisfy that. The correct solution should be:

$$v=a\frac{(1-e^{-bt})}{b}$$
 
  • Like
Likes   Reactions: RJLiberator
v = (a-ae^(-bt))/b

So this equation is not dependent on mass, which is good.
But, the problem I am having with this is it is dependent on acceleration and velocity.
I have the duty of coding a graph of the equation of velocity from a free falling object.
I have successfully made the graph for the case without air resistance.

So I figure the graph with air resistance shouldn't be too hard. It should be a simple extension.
When I look at this equation, I am left wondering how to incorporate it into my code.

v is what we are looking for.

1) b, I have no idea what b is. I know it's a constant that is dependent on the fluid it traverses, but how am I suppose to give it numerical value? Should I make it a user input and suggest some values for b?
b is determined by vterm = mg/b
But I don't have a mass, and what would be my terminal velocity? Don't have that either.

I suppose I can let the user input values for b, but I am struggling even finding realistic values to suggest.

2) And then there is acceleration. Can I represent that by a small change in time of the velocity? OR could that Just be gravity = 9.81?
 
  • #10
I don't know how you want to handle b. It depends on how technically correct you want to be. Is this for a physics course or a math course?
You should have a = g in your equations. As far as terminal velocity is concerned, it is the value of v when t is infinite. What does your equation say?
 
  • Like
Likes   Reactions: RJLiberator
  • #11
I don't know how you want to handle b. It depends on how technically correct you want to be. Is this for a physics course or a math course?
You should have a = g in your equations. As far as terminal velocity is concerned, it is the value of v when t is infinite. What does your equation say?

I think the best route to go is to let b be user inputted at this point.

Thank you for the confirmation on a = g and understanding of terminal velocity.
When t is infinite, terminal velocity is a/b which is 9.81/b.

This is for a physics course entitled Mathematical and Computational methods for Physicists.

Your help here has been extremely important in my understanding of what I have to do.
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
4
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
12
Views
5K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 25 ·
Replies
25
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
8
Views
2K