I am studying Fundamental of Electric Circuits by Alexander and Sadiku, and I am not able to solve a practice problem 13.9 about ideal transformer in Chapter 13 of the textbook. My answer is different from that provided by the textbook and I am not able to find a reference solution on internet.
As shown in the above plot, the problem asks to find \$V_0\$.
I assumes the currents of the three meshes (bottom left, bottom right and top right) are \$I_1, I_2, I_3\$ defined in clockwise directions, and the voltages at the two sides of the ideal transformers are \$V_1, V_2\$ with positive defined at the points marked by red dot. Then I wrote down the following equations
$$120 - 4 I_1 - V_1 = 0 \,\,\,\;\;\;\;\;\;\;(1)$$ $$-V_2 - 2 (I_2 - I_3) - 8 I_2 = 0\;\;\;\;\;\;\;(2)$$ $$-8 I_3 - 2 (I_3 - I_2) = 0\;\;\;\;\;\;(3) $$ $$V_1 = V_2 /2 \;\;\;\;\;\;(4)$$ $$V_1 (I_1 - I_3 ) = -V_2 (I_2 - I_3)\;\;\;\;\;\;(5)$$
Here Eqs.(1-3) are due to Kirchhoff's voltage law (KVL), Eq.(4-5) are due to ideal transformer, while the last one states that there is no energy loss. We note that the currents go through the two sides of the transformer are \$(I_1-I_3)\$ and \$(I_2-I_3)\$ respectively.
However, by solving the above equations, I got \$V_0=-18.46\$ V, different from the result provided by the textbook \$V_0=48\$ V. I checked several times the equations and the solutions, but cannot figure out my mistake.
P.S.
I used the following short mathematica script to solve the above equations, if it provides any convenience.
sol = Solve[120 - 4 I1 - V1 == 0
&& -V2 - 2 (I2 - I3) - 8 I2 == 0
&& -8 I3 - 2 (I3 - I2) == 0 && V1 == V2 /2
&& V1 (I1 - I3 ) == -V2 (I2 - I3) , {I1, I2, I3, V1, V2}]
N[8 I3 ] /. sol
Edit
Bumping my brain against user287001's nodal analysis, I found the mistake in my mesh analysis. The third equation above jumps from one side of the transformer to anther while overlooking the voltage difference. The correct one reads
$$-8 I_3 - 2 (I_3 - I_2) + (V_1 + V_2) = 0\;\;\;\;\;(3') $$
Calculations using Mathematica confirmed the result. Lesson learned.