Question: finding loop for a function when parameter are change and calculate all outcome

i am looking for all outcome of this function how i can do it


phi := (`\`p_1,p__2`, q__1, q__2, xi) -> p__1*exp(q__1*xi) - p__2*exp(q__2*xi);
for p[1 ] in [0,1,-1,I,-I] do ;
for p[2 ] in [0,1,-1,I,-I] do ;

 for q[1 ] in [0,1,-1,I,-I] do ;
 for q[2 ] in [0,1,-1,I,-I] do ;
result1 := evalf(phi(`\`p_1,p__2`, q__1, q__2, xi));
print('result1);

my code is not correct and not run in fact but it is my try

Please Wait...