double [ ] function ( double [ ] arg0 , double [ ] arg1 , double [ ] arg2 ) { double [ ] loc0 = getForceVector ( arg1 , arg0 , earth . getMass ( ) * moon . getMass ( ) , false ) ; double [ ] loc1 = PhysicUtility . scalarProd ( 1 / moon . getMass ( ) , loc0 ) ; double [ ] loc2 = PhysicUtility . sum2 ( arg2 , loc1 ) ; return loc2 ; }
get the moon velocity update from the state parameters , the rocket is too light to influence the system concode_field_sep int width concode_elem_sep CircleShape moon concode_elem_sep Commandes commandes concode_elem_sep List<GraphicObject> listGraphic concode_elem_sep CircleShape earth concode_elem_sep RectangleShape rocket concode_elem_sep LineCurve rocketCurve concode_elem_sep LineCurve moonCurve concode_elem_sep int height concode_field_sep double[] getForceVector concode_elem_sep void update concode_elem_sep void simulate concode_elem_sep double[] updateRocketVelocity