We already noticed in step 1 that there will only be one mesh so lets draw in our mesh current give it a. Y solve eqnsvars solves the system of equations eqns for the variables vars and returns a structure that contains the solutions. Shows with worked examples how complicated exponent expressions can be simplified in more than one way with each way leading to the same result.
It obviously only has one loop and weve got a voltage source and two.
Enter the constraints inside the box Subject to the Constraints by clicking the Add button as below. How to solve a complicated equation system. Now you get the solution of these equations in the cells C1 C2 and C3. Now click Add and insert the next 2 constraints.