Wind Resistance

  • Follow


Hello everybody.  I'm doing my final project for my AP Java class andI was wondering if anybody had any suggestions on how to use airresistance.  I really don't have any idea what to do to use airresistance in my program, but it's required.  My program is going toinvolve dropping a ball if that helps any.  The most luck I've had hasbeen from Googling stuff on air resistance Java source code.  Any helpwould be appreciated, thanks.
0
Reply calebpward (4) 4/10/2007 12:37:56 AM

Caleb wrote:> Hello everybody.  I'm doing my final project for my AP Java class and> I was wondering if anybody had any suggestions on how to use air> resistance.  I really don't have any idea what to do to use air> resistance in my program, but it's required.  My program is going to> involve dropping a ball if that helps any.  The most luck I've had has> been from Googling stuff on air resistance Java source code.  Any help> would be appreciated, thanks.> This has nothing to do with any language until you run into a problem during implementation. Don't do your searches based on keywords of java and air resistance because you would be limiting yourself too much, unless you plan on copying the java code.  That is because at this stage the language you use is mainly irrelevant.
0
Reply Brandon 4/10/2007 1:04:50 AM


"Caleb" <calebpward@gmail.com> wrote in message news:1176165476.374553.88450@y66g2000hsf.googlegroups.com...> Hello everybody.  I'm doing my final project for my AP Java class and> I was wondering if anybody had any suggestions on how to use air> resistance.  I really don't have any idea what to do to use air> resistance in my program, but it's required.  My program is going to> involve dropping a ball if that helps any.  The most luck I've had has> been from Googling stuff on air resistance Java source code.  Any help> would be appreciated, thanks.>Try googling "drag coefficient" instead of wind resistance.a ball has a certain coefficient of drag and if its 'falling' you have gravity pulling down and resistance to falling (drag).at some point, the ball could possibly reach 'terminal velocity'.--assuming you drop the ball where air is present - as opposed to on the moon,sounds like a fun project
0
Reply Hal 4/10/2007 1:06:19 AM

Caleb wrote:> Hello everybody.  I'm doing my final project for my AP Java class and> I was wondering if anybody had any suggestions on how to use air> resistance.  I really don't have any idea what to do to use air> resistance in my program, but it's required.  My program is going to> involve dropping a ball if that helps any.  The most luck I've had has> been from Googling stuff on air resistance Java source code.  Any help> would be appreciated, thanks.> Having taken physics recently, I remember that Fair = -A*b*v^n where A is the cross-section area of the object (pi*R^2 for a spherical ball), bis a constant related to the air, and n is 1 for low velocity and 2 for high velocity.Hope this helps.
0
Reply Joshua 4/10/2007 1:43:35 AM

Caleb wrote:..>I was wondering if anybody had any suggestions on how to use air>resistance.  This application simulates it.<http://www.1point1c.org/spacesim/sim/app.html>It is open source, see the spacecim.zip available here..<http://www.1point1c.org/spacesim/sim/>Note that it also simulates a lot of other things, andwas never meant as a simple example of how to code air resistance, but then you say you are in your final year, so you should be able to figure it out.HTH-- Andrew Thompsonhttp://www.athompson.info/andrew/Message posted via JavaKB.comhttp://www.javakb.com/Uwe/Forums.aspx/java-general/200704/1
0
Reply Andrew 4/10/2007 2:45:37 AM

Caleb wrote:> Hello everybody.  I'm doing my final project for my AP Java class and> I was wondering if anybody had any suggestions on how to use air> resistance.  I really don't have any idea what to do to use air> resistance in my program, but it's required.  My program is going to> involve dropping a ball if that helps any.  The most luck I've had has> been from Googling stuff on air resistance Java source code.  Any help> would be appreciated, thanks.http://en.wikipedia.org/wiki/Drag_(physics)
0
Reply Alan 4/10/2007 5:55:03 AM

Caleb emailed this:> Hello everybody.  I'm doing my final project for my AP Java class and> I was wondering if anybody had any suggestions on how to use air> resistance.  I really don't have any idea what to do to use air> resistance in my program, but it's required.  My program is going to> involve dropping a ball if that helps any.  The most luck I've had has> been from Googling stuff on air resistance Java source code.  Any help> would be appreciated, thanks.It sounds pretty straight forward to me.You have your rate of descent, 9.8 m/s/s. In your program have a variable which holds the value of the speed as it increases, and another variable which holds the value of the calculation as to how much air resistance reduces that speed. Subtract the air resistance from the speed and that's it.
0
Reply MS 4/10/2007 3:17:20 PM

MS schrieb:> Caleb emailed this:>> Hello everybody.  I'm doing my final project for my AP Java class and>> I was wondering if anybody had any suggestions on how to use air>> resistance.  I really don't have any idea what to do to use air>> resistance in my program, but it's required.  My program is going to>> involve dropping a ball if that helps any.  The most luck I've had has>> been from Googling stuff on air resistance Java source code.  Any help>> would be appreciated, thanks.> > It sounds pretty straight forward to me.> > You have your rate of descent, 9.8 m/s/s. In your program have a> variable which holds the value of the speed as it increases, and another> variable which holds the value of the calculation as to how much air> resistance reduces that speed. Subtract the air resistance from the> speed and that's it.or use Lagrange's equations ... if you are good with maths that may looknice in the end...the resistance of the Air is just a term draining from the total Energyof your System..that would have the benefit that some other things could later be moreeasily implemented .. and you would learn some more basics aboutTheoretical PhysicsChristian
0
Reply Christian 4/10/2007 3:27:14 PM

7 Replies
95 Views

(page loaded in 0.124 seconds)

Similiar Articles:










7/20/2012 1:39:15 PM


Reply: