IM

/*************************************************************************/
/*This program files the points in a 3D array from 0,0,0 to X_MAX,Y_MAX,Z_MAX      */
/* of the function defined in the funt_one() funtion into an funct_two.ascii file.                  */
/* Written by Elsa Laughlin                                                                                                   */
/************************************************************************/

#include 
#include 

#define X_MAX 20
#define Y_MAX 20
#define Z_MAX 20

float funt_one(int x, int y, int z) {
            float function_value;
            float a, b, c, d;
            a=-4*x;
            b=(x*x)+(y*y)+1;
            c=a/b;
            d= z*z;
            function_value = c + d;
            return (function_value);
}/*end of function*/


void main()
{
        int i , j , k, h=0;
        float funt_values[X_MAX][Y_MAX][Z_MAX];
        FILE *out_file;
         /*in f(x,y,z) x=k y=j z=i*/
         for ( i=0; i