Hello,

I am trying to write two equations, each element in the equation is an arry ,

```
double XDiffusion (int D,int D11, int x, int s)
{
float DeltaX;
return DeltaX;
}
double YDiffusion (int D,int D11, int x, int s)
{
float DeltaY;
return DeltaY;
}
int main()
{
int T =100;
int N = 1000;
float dt = float (T)/ N;
int x = 0;
int D = 10;
int DII = 10000;
double Bx[2] = {cos(x),-sin(x)};
double By[2]= {sin(x), cos(x)};
srand(time(0));
float s = (float(rand())/(RAND_MAX)) + 1;// give random number between(0,1)
float DeltaX = Bx[0]*sqrt(2*D*dt)*s + Bx[1]*sqrt(2*DII*dt)*s;
float DeltaY = By[0]*sqrt(2*D*dt)*s + By[1]*sqrt(2*DII*dt)*s;
cout << "the value is: " <<D <<'\n'<< endl ;
cout << " The value is:" << DeltaY<< '\n'<< endl;
return 0;
}
```

this is what I wrote so far: