I built the following circuit in LTSpice and found each mesh currents to be (which also matches the answer sheet provided by my professor):
However, I am unable to solve each mesh current using Mesh Analysis following the sign conventions.
Here's my approach:
Mesh 1: i1 = 9A
Mesh 2: R1*(i2 - i1) + i4*3 + R2*(i2 - i3) = 0
Supermesh: R2*(i3 - i2) + R3*i4 = 0
Also: i3 - i4 = 17 ===> i3 = 17 + i4
where R1=6ohm; R2=4ohm; R3=2ohm
If I substitute in mesh current from the spice simulation, the supermesh matches where Mesh 2 doesn't. However, I checked many online sites and followed the sign conventions, but I am not able to get it to work, where did I do wrong?