| Author |
Comment/Response |
ray
|
03/24/10 8:23pm
Would like to know if there is a way to map two lists, the first element of one with the first element of the second, the second element of the one with the second element of the second, etc.
Clear[g,f,m]
f[x_]={x^2+2x+3,Sqrt[x+1],Sin[x+3x^2],E^(x+2),Sin[x^2+x],E^x^2,x (x+1)(x+2)};
g[x_]={(x-1)^2,(x^2-2)^(1/3),Cos[x^2-x],Log[x-5],Log[x^2-x],E^-x^2,(2x-3)(x+4)};
m=Map[f,g[x]];
TableForm[m]
URL: , |
|