I'm having some difficulty with the map function. Right now my code looks like this:
ClearAll["Global`*"]
e = Import[
"C:\\Users\\simultaneous_2.xlsx", \
{"Data", 1, {1, 2}, 18}];
x = ToExpression@e;
f = Import[
"C:\\Users\\simultaneous_2.xlsx", \
{"Data", 1, {1, 2}, 19}];
y = ToExpression@f;
g = Import[
"C:\\Users\\simultaneous_2.xlsx", \
{"Data", 1, {1, 2}, 20}];
z = ToExpression@g;
h = Import[
"C:\\Users\\simultaneous_2.xlsx", \
{"Data", 1, {1, 2}, 21}];
m = ToExpression@h;
eq1 = x2 == a + (y2*z2*b)/(1 - b^2);
eq2 = m2 == b + (y2*z2*a)/(1 - a^2);
fn = NSolve[eq1 && eq2, {a, b}];
So currently x,y,z and m are arrays of length 2. How would I use map on this though? I can't directly map Nsolve because there is no input to that function. I am thinking I would have to use map on x,y,z,m e.g.
x[[i]]=x[[i]]
Map[x, {1, 2}]
but this does not seem to work. Any input would be appreciated