NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
October 23, 2014, 05:58:02 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
"It is not the strongest of the species that survive, but the one most responsive to change." ..."Darwin(1809-1882, English naturalist Evolution)"
Google Bookmarks Yahoo My Web MSN Live Netscape Del.icio.us FURL Stumble Upon Delirious Ask FaceBook

Pages: 1 [2]   Go Down
  Print  
Author Topic: Kepler Motion  (Read 218946 times)
0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
Daniele
Newbie
*
Offline Offline

Posts: 2

«
Embed this message
Reply #30 on: May 30, 2008, 08:00:49 pm »

Hi,
I found your applet very usefull and clear. I am an astronautical engineer and I am coping for the first time with Java. I used to program in MATLAB/SIMULINK environment, therefore the point of view is quite different because of the Java Object Orientation. I would like to ask to the author of the applet some additional detail about the integration of the equations of motion:

1. What kind of numerical integrator did you use (RK4, Euler,...)?
2. Is it possible to integrate non linear ODE of the second order (i.e. the equations of motion for the restricted three body problem) or it is necessary to transform every equation of the second order in two equations of the first order?
3.I went through the source code of the applet, but it is quite confusing for a new Java user; is it possible to point out the section of the code where the integration is performed?

I do apologize if these questions may seem elementary, but the approach needed to program in Java is completely different from that one needed in MATLAB/SIMULINK, where the integrators are black boxes.

Many thanks in advance for any help.

Best regards,
Daniele
Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3057



WWW
«
Embed this message
Reply #31 on: May 30, 2008, 08:37:57 pm »

1. Almost all the simulation were integrated with RK4.
2. Most of the second order ODE should be able to break into two first order equation.
3. I would suggest you try Easy Java Simulations (EJS).
The code you got was created almost 10 years ago with JDK1.0.2.  I switch to EJS since 2001 and it will be much easier for non-programmer to create simulation.
Logged
Daniele
Newbie
*
Offline Offline

Posts: 2

«
Embed this message
Reply #32 on: May 30, 2008, 08:56:04 pm »

Hi!
Thank you very much for your prompt replay. At the moment I am using eclipse as IDE, do you think it is a good way to start?

I think that most of the problem is to understand the way an OO application works: do you think it would be possible to you to prepare a simple simulation for a 3D circular orbit around the earth? That would be a nice way to start, in order to implement new features like elliptic orbits, perturbations due to the earth oblateness, drag, third body and, most of all, understand the technique involved in this example.

Best regards,
Daniele Romagnoli
Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3057



WWW
«
Embed this message
Reply #33 on: May 30, 2008, 11:40:52 pm »

Eclipse is a good IDE for general purpose programming. But EJS is designed for science teacher or students. Please check out
Easy Java Simulations: a software tool to create scientific simulations in Java which is written by EJS original author: Francisco Esquembre
and do not forget to visit Offcial EJS WiKi Page

I think you will like it!
Logged
pdnoerd
Newbie
*
Offline Offline

Posts: 1

«
Embed this message
Reply #34 on: August 15, 2008, 10:34:52 am »

Nice demonstration

Some spelling errors:

(Java Simulaions in Physics)
should be
(Java Simulations in Physics)  (you left out a "t")

"16 centry" should be "16th century"

"Danish bobleman Tycho Brahe" should be "Danish nobleman Tycho Brahe"

Also, someplace I saw "summerized" which means "made ready for summertime" but you want "summarized".  To "summerize" is to fix the air conditioner, for example.

Sorry - I know you start with a different language - just trying to help
Peter
Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3057



WWW
«
Embed this message
Reply #35 on: August 15, 2008, 04:58:16 pm » posted from:Taipei,T'ai-pei,Taiwan

Thank you! I have corrected the message according to your suggestion.
Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3057



WWW
«
Embed this message
Reply #36 on: January 09, 2009, 10:20:58 pm »

Registed user can get files related to this applet for offline access.
Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
If java program did not show up, please download and install latest Java RUN TIME

Try to compare the above motion with the following model.



Registed user can get files related to this applet for offline access.
Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
If java program did not show up, please download and install latest Java RUN TIME
Logged
sharonk868
Newbie
*
Offline Offline

Posts: 1

«
Embed this message
Reply #37 on: January 14, 2010, 06:46:05 pm » posted from:Hanoi,Dac Lac,Vietnam

Could you at least explain what you want to create? What kind of simulation? What you want to show in the simulation?
Do you have the formula now? What are the form of your formula? What is your model for the simulation?
There are so many information which you did not provide.
I can not read your mind.

I think you also need to learn: How to ask a question effectively? How to explain your problem?
If I do not have a very clear picture of what you really want to do. There is no way I can help.


I also think so.
Thanks you for the post.
Hi guys, Im a newbie. Nice to join this forum.
-*-
Logged
TraceyTrias
Newbie
*
Offline Offline

Posts: 1

«
Embed this message
Reply #38 on: January 22, 2010, 10:44:36 am » posted from:Quezon,Nueva Ecija,Philippines

Thanks a lot. It is very helpful to me... I really needed that.. Thank you so much.

-*-
Logged
cjamesha
Newbie
*
Offline Offline

Posts: 1

«
Embed this message
Reply #39 on: March 06, 2010, 03:22:46 pm » posted from:Erode,Tamil Nadu,India

You should have received source code in your email box now.
I want to start writing simulation for electronic circuits. Could you send me source code for keplers laws?

C. James
Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3057



WWW
«
Embed this message
Reply #40 on: March 06, 2010, 10:28:29 pm » posted from:Taipei,T\'ai-pei,Taiwan

You can download it by yourself (attachement file under the first message).
However, the code was written more than 10 years ago with JDK1.0.2.

I would suggest you to lean EJS. It will be much easier to create simulation with EJS.
There are several circuit related simulation created with EJS, Please check out Electromagnetism board under Easy Java Simulations (2001- ) category.
Logged
physics4ever
Newbie
*
Offline Offline

Posts: 2

«
Embed this message
Reply #41 on: May 07, 2010, 02:57:18 am » posted from:,,Lebanon

hello
would you send me the code of the kepler's motion applet ,
i am in need for it
thanks for your help  Smiley
Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3057



WWW
«
Embed this message
Reply #42 on: May 07, 2010, 08:38:40 am » posted from:Taipei,T'ai-pei,Taiwan

The source code is available as attached file under 1st message (where you saw the simulation).
May be you did not look at the whole message so that you did not find it.
Please download it by yourself. Wink
Logged
physics4ever
Newbie
*
Offline Offline

Posts: 2

«
Embed this message
Reply #43 on: May 07, 2010, 10:28:42 pm » posted from:Beirut,Beyrouth,Lebanon

Thank you for you note and I have downloaded it .
I appreciate your help.
sorry for bothering you. I haven't noticed the attachement from the very beginning
 Smiley
Logged
jenny.smith
Newbie
*
Offline Offline

Posts: 3

«
Embed this message
Reply #44 on: July 23, 2010, 08:02:34 pm » posted from:Mumbai,Maharashtra,India

Well i have lost doubt regarding the Kepler Motion,but after going through post its sorted out great work.
Logged
sammys4travel
Newbie
*
Offline Offline

Posts: -18

«
Embed this message
Reply #45 on: November 15, 2013, 08:48:37 am » posted from:,,Satellite Provider

hi,
  Beyond some clever features and design, the Moto X also failed to deliver much earth-shaking in the way of price/performance. Dennis Woodside, who runs Motorola for Google, had made some noise in May about how his division was going to do things rivals Apple and Samsung couldn’t
Logged
Pages: 1 [2]   Go Up
  Print  
"It is not the strongest of the species that survive, but the one most responsive to change." ..."Darwin(1809-1882, English naturalist Evolution)"
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
simple harmonic motion with angular motion
Wave
inayet ali 1 20567 Last post May 15, 2009, 08:39:26 pm
by daryy
relations between simple harmonic motion and circular motion
Kinematics
Fu-Kwun Hwang 1 31275 Last post January 09, 2009, 08:18:03 pm
by Stam
kepler orbit derivation
Dynamics
PeterV 0 14588 Last post April 01, 2006, 12:11:18 am
by PeterV
Trajectories for kepler motion
Dynamics
Fu-Kwun Hwang 0 3810 Last post April 09, 2010, 05:50:16 pm
by Fu-Kwun Hwang
Trajectories for kepler motion
dynamics
ahmedelshfie 0 2626 Last post April 09, 2010, 06:28:27 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.095 seconds with 23 queries.since 2011/06/15