From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_40,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,88a843cdd1eb738a,start X-Google-Attributes: gid103376,public From: bvoh@sdynamix.com Subject: Language Challenge 2000 Date: 2000/01/31 Message-ID: <38964D82.3423805@sdynamix.com>#1/1 X-Deja-AN: 580183172 Content-Transfer-Encoding: 7bit Organization: Eclipse Software X-Accept-Language: en X-Server-Date: 1 Feb 2000 03:06:51 GMT Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-02-01T03:06:51+00:00 List-Id: Language Challenge 2000 The entire onboard software for the Apollo Lunar Landing Mission was about 10% the size of today's typical word processor -- a huge regress by any standard. For a measure of progress in scientific software you are invited to participate in a comparative test by solving a real world problem in the language of your choice. Find the optimal initial angle for a trajectory to reach a target at 2000 m to within .5 m. The equations of motion are given by, mx" + Dcos(alfa) = 0 my" + Dsin(alfa) + mg = 0 where D = .5*Cd*A*rho(y)*v^2 alfa = atan(y'/x') and rho() is a variable atmospheric density w.r.t. altitude. Parameters: m = 20 kg Cd = .3 A = .02 m^2 g = 9.80665 m/s^2 Initial values: x = 0 m y = 0 m v = 180 m/s alfa = 40 deg Rules: Solution must be general; trial and error methods based on apriori knowledge of the solution range do not qualify. Feel free to use external software resources as well as the "Trajectory" example on our "Application profiles" page as a convenient guideline. Criteria: a) Execution time b) Size of executable Submit: Executable module (show final angle and distance), main program text file and indicate the integration and optimization algorithms used. e.g. Levenberg-Marquardt (netlib). All entries must be received by March 31, 2000. The best entry in each language will be posted on our site to serve as a barometer for those pondering what language to choose for their technical computing. It might also double as a place where flame war enthusiasts can calibrate their rhetoric against the realities of feasible solutions. Questions regarding the contest should be directed to info@sdynamix.com with Contest 2000 in the "Subject" line. ----------------------------------------------- Modeling * Simulation * Analysis http://www.sdynamix.com -----------------------------------------------