part of a bigger code, I am trying to replace the variable in the function by using:
vars = {x, y, z, r, p, l};
varlims = {{1, 2}, {3, 4}, {5, 6}, {7, 8}, {9, 10}, {11, 12}};
poi = {x, y};
svars = {z, r, p, l};
poi[[1]]
u = z Sin[\[Pi] x] + z Cos[\[Pi] y] + y^6 Cos[2 \[Pi] y];
u /. poi[[1]] -> v1
poi[[1]] is x there I see it but why can't I replace it by v1? I think ./ -> looking for poi[[1]] as a string how can make it to represent x?