/* * @(#) smt1_5.c - Program for calculation of the hitting factor of * some bombs, variant 1 (Task 1_5 at the Special Military Training course). * (c) 1996 Ivan Maidanski http://ivmai.chat.ru * Freeware program source. All rights reserved. ** * Language: ANSI C * Tested with: Borland C++ v3.1 * Last modified: 1996-12-06 15:40:00 GMT+03:00 */ #include #include #include #include #define KSI_N 100 double norm_rnd_func(double mx, double sigmax) { int i; long ksi=0; double z; for (i=0;i