NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
December 14, 2017, 09:12:57 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Life well spent is long. ..."da Vinci (1452-1519, Italian artist, sculptor, painter, architect, engineer and scientist) "
Google Bookmarks Yahoo My Web MSN Live Netscape Del.icio.us FURL Stumble Upon Delirious Ask FaceBook

Pages: [1]   Go Down
  Print  
Author Topic: Air Drag  (Read 5269 times)
0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
ahmedelshfie
Ahmed
Hero Member
*
Offline Offline

Posts: 954



«
Embed this message
on: October 27, 2010, 11:40:20 pm » posted from:SAO PAULO,SAO PAULO,BRAZIL

Hello prof
Could some help about Air Drag applet,have some bugs i tried solve but didn't have luck!
Have wrong in K1,K2 and graphic not totally right have many wrongs.
When i set value in k1 or k2 or both applet move so fast with a big error!
Help prof  Cry
Thanks



* Air Drag.gif (18.17 KB, 940x437 - viewed 268 times.)

*** There are 1 more attached files. You need to login to acces it!
Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #1 on: October 29, 2010, 05:00:54 pm » posted from:,,Taiwan

Please at least provide the parameters which you think it does not function preporly.
Is it the same in my original applet or it only shown in your modified version?
Logged
ahmedelshfie
Ahmed
Hero Member
*
Offline Offline

Posts: 954



«
Embed this message
Reply #2 on: October 29, 2010, 05:25:24 pm » posted from:SAO PAULO,SAO PAULO,BRAZIL

Hi prof
As long time ago you help me modified your original applet but,
Have many days i was check applet together teacher physic, i find many bugs i tried to solve this bugs.
Have bugs in k1,k2,graphic of x,y
Because it i ask if you could check applet and help me solve this bugs.
Thanks prof
Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #3 on: October 29, 2010, 05:47:07 pm » posted from:,,Taiwan

Would you explain what do you mean by something wrong in graphic of x-y
and what kind of bug in k1,k2?
What kind of values you have tried which you think it move too fast?

I need to know the parameters you have tried which you suspect there is something wrong,
so that I can re-product the same result you found.
Logged
ahmedelshfie
Ahmed
Hero Member
*
Offline Offline

Posts: 954



«
Embed this message
Reply #4 on: October 29, 2010, 06:02:07 pm » posted from:SAO PAULO,SAO PAULO,BRAZIL

About bugs K1,K2 normally when i run applet appear value of k1,k2 zero but when i change
Value for example k2 i change value to 1,000000 to click Play so the mass move so fast and appear
Error in x,y value beside time, about graphic when i run applet still applet finish running i look to value of x,y
And check graphic of x and y i find different but i think wrong only in y, last thing is the mass after i set value of angle and velocity
I run applet so mass move normally still end when touch another point on other side must stop but not stop continue move but no always some times stop i think is like relationship between value of angle and velocity.


* Bug.gif (17.91 KB, 968x411 - viewed 412 times.)
« Last Edit: October 29, 2010, 06:08:32 pm by ahmedelshfie » Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #5 on: October 29, 2010, 08:21:24 pm » posted from:,,Taiwan

There is nothing wrong with the code.

It is because you have too large value for k1,k2

The resistor force is assume to be F=K1*V+K2*V^2 and the mass is assumed to be 1.
K1 and K2 has to be much smaller than 1.
for k2=0.1 it is not an object moving in air. It is an object moving in densed fluid.
Logged
motazibrahim
Newbie
*
Offline Offline

Posts: 2

«
Embed this message
Reply #6 on: November 05, 2010, 01:48:18 am » posted from:SAO PAULO,SAO PAULO,BRAZIL

Thank you prof for help, so every thing alright and not have any wrong like i think.
This a count my brother i was check is still work or no
Ahmed
Thanks Grin
« Last Edit: November 05, 2010, 01:52:02 am by motazibrahim » Logged
Pages: [1]   Go Up
  Print  
Life well spent is long. ..."da Vinci (1452-1519, Italian artist, sculptor, painter, architect, engineer and scientist) "
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
ball moving with spin /drag
Request for physics Simulations
Fu-Kwun Hwang 1 7185 Last post February 21, 2008, 02:24:12 pm
by Fu-Kwun Hwang
X(t), V(t) and a(t) plots : drag x to view v(t)/a(t) or set constant a
Kinematics
Fu-Kwun Hwang 0 8687 Last post April 04, 2009, 03:17:39 pm
by Fu-Kwun Hwang
X(t), V(t) and a(t) plots : drag x to view v(t)/a(t) or set constant a
kinematics
ahmedelshfie 0 3922 Last post June 24, 2010, 07:46:25 pm
by ahmedelshfie
Air drag
Dynamics
Fu-Kwun Hwang 0 4161 Last post February 27, 2011, 01:28:57 pm
by Fu-Kwun Hwang
Air drag
dynamics
ahmedelshfie 0 2796 Last post May 23, 2011, 05:50:05 pm
by ahmedelshfie
Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.133 seconds with 23 queries.since 2011/06/15