Language Challenge 2000

*To*: mathgroup at smc.vnet.net*Subject*: [mg21992] Language Challenge 2000*From*: bvoh at sdynamix.com*Date*: Thu, 10 Feb 2000 02:25:35 -0500 (EST)*Organization*: Eclipse Software*Sender*: owner-wri-mathgroup at wolfram.com

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') v = sqrt(x'^2 + y'^2) and rho() is atmospheric density varying with altitude (use Standard Atmosphere 76). 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. The overall winner will receive: Compaq Visual Fortran V6.1 -- Professional Edition Provided courtesy of Compaq SDX Modeling and Simulation Software V3.0 as recognition for demonstrated skills in crafting the fastest solution with a smallest footprint. Questions regarding the contest should be directed to info at sdynamix.com with Contest 2000 in the "Subject" line. ----------------------------------------------- Modeling * Simulation * Analysis http://www.sdynamix.com -----------------------------------------------