Question

Given an electric circuit, the application of the underlying laws leads to the following six equations: V - Ruiz - Raid = 0 -
Please help me solve this matlab question, I only have 30 minutes
0 0
Add a comment Improve this question Transcribed image text
Answer #1

MATLAB Code ==>

clear all
% Take first 6 equations only.
% Take all the dependent variable on left.
% and independent variable on the right.
% arrange them in the order : [i1 i2 i3 ai4 i5 i6] on the left.
% Now, arrange matrix equation in the form :
% [A]*curr = b; curr = transpose of [i1 i2 i3 i4 i5 i6]

R1 = 1500;
R2 = 3000;
R3 = 2500;
R4 = 6000;
R5 = 4000;
V = 150;

A = [0 -R2 0 -R4 0 0;
R1 -R2 R3 0 0 0;
0 0 -R3 -R4 R5 0;
-1 -1 0 0 0 1;
0 1 1 -1 0 0;
1 0 -1 0 -1 0;];

b = [-V; 0; 0; 0; 0; 0];

% Since matrix form is [A]*curr = b
% Therefore curr = inverse([A])*b ==>
curr = inv(A)*b


RESULTS ==>

curr =

0.0285
0.0156
0.0016
0.0172
0.0268
0.0440

Meaning of the result ==>

i1 = 0.0285 A
i2 = 0.0156 A
i3 = 0.0016 A
i4 = 0.0172 A
i5 = 0.0268 A
i6 = 0.0440 A

MATLAB R2015a - academic use x IE HOME PLOTS APPS EDITOR PUBLISH VIEW ? Search Documentation FILE ох fftHomeworkLib.m x current_matNOTE - For any other help, please let me know in the comments.

Add a comment
Know the answer?
Add Answer to:
Please help me solve this matlab question, I only have 30 minutes Given an electric circuit,...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • please solve these 2 problems. I will rate you up In the circuit shown below, let...

    please solve these 2 problems. I will rate you up In the circuit shown below, let V. - 3 V.1. - 1 mA, R-3k, Ry - 2.5 kA, R = 1 kq Use mesh analysis to find mesh currents I, and 12. Also, find Vı. R1 V1 R2 W 2 is len 3kR 12 R3 100 IMA Problem 5 In the circuit shown below, let V, -8 V, 1. - 2 mA, R2 = 1 k 2, R2 = 400,...

  • please solve in details. i will rate you up ! Problem 3 In the circuit shown...

    please solve in details. i will rate you up ! Problem 3 In the circuit shown below: a. Write a node equation at node 1 by summing the currents leaving node 1. b. Write a node equation at node 2 by summing the currents leaving node 2. c. Find V, and V2 by solving the two node equations. d. Find the currents IR, IR, IR3, IR4, Is. e. Find the power absorbed by R1, R2, R3, R4, and power released...

  • MATLAB MATLAB MATLAB Consider the diagram below V R$ Here, each V represents a change in...

    MATLAB MATLAB MATLAB Consider the diagram below V R$ Here, each V represents a change in voltage (in volts) at a battery, each R represents a resistance in ohms) at a resistor and each I represents a current (in amps) through a wire. These quantities obey two simple laws: 1. Ohm's law: The voltage drop across a resistor is V = IR. 2. Kirchhoff's second law: The sum of all the voltage changes in a closed loop is zero. Using...

  • Solve using Matlab Will leave a like Problem 4: The equations describing the circuit shown in...

    Solve using Matlab Will leave a like Problem 4: The equations describing the circuit shown in Figure P38 are -1RiRi4 = 0 -Rii4+ Rziz + Rsis 0 -Rsis +Raia + v2 = 0 i=12+i 100 V. (Note The given values of the resistances and the voltage v, are R,-5. R, - 100, R that 1 kn 1000 n) Suppose that each resistance is rated to carry a current of no more than 1 mA (= 0.001 A). Determine the allowable...

  • Please help me solve for Calculations table 2 using the values in Data Table 2, not...

    Please help me solve for Calculations table 2 using the values in Data Table 2, not the diagram the set up is shown in figure34-4. Thank you 34 LABORATORY 3 4 Kirchhoff's Rules LABORATORY REPORT Data Table 1 Power Supply Voltages V 5.00 V & =_10.00 Calculations Table 1 Kirchhoffs rules for the circuit (1) KCR- (2) KVR1- (3) KVR2- E2 Theoretical Current (mA) % Error Experimental to Theoretical Current Resistor Values (9) Ri= 462 R2= 750 R3 = 1008...

  • those are my equations, need help on part C c. Solve the equations for l s,...

    those are my equations, need help on part C c. Solve the equations for l s, la, and ls. Once you have your equations, show them to your instructor for approval before continuing to the rest of the lab. Build the circuit and set V1 = 5.00 V and V,-100V-Be careful to make sure your leads in and out of the power supplies are correct! Do not turn on the power supplies yet 2. Using the values for resistance and...

  • CIRCUIT ANALYSIS! Electrical engineering! Knowledge of MATLAB required!!!! Professionals only! Please be clear and concise. MUST...

    CIRCUIT ANALYSIS! Electrical engineering! Knowledge of MATLAB required!!!! Professionals only! Please be clear and concise. MUST ANSWER ALL PARTS OF QUESTION!!!!!!!! Credit only awarded to all complete answers Please circle answers Use Loop Analysis to complete the elements of the Amatrix of the equation A*I=S, where A is the nodal matrix, I is the loop currents vector and Sis the sources vector for the circuit below: 13 Z1 212 2/0° 12%ºv + Is Vs 22 T 122 11 Z3j42 24...

  • Please help me solve - I got 0.124 using kirchoff but i don't think I am...

    Please help me solve - I got 0.124 using kirchoff but i don't think I am doing it correctly for these last two... please show work thanks! The emfs in the figure below are &z = 5.00 V and E2 = 18.0 V. The resistances are R1 = 15.50, R2 = 31.5 0, R3 = 47.00, and R4 = 56.00. Find the magnitude of the current in each resistor when the switch is in the following states. R w R4...

  • please help with this multiple part, single question! Problem 8: Consider a circuit shown in the...

    please help with this multiple part, single question! Problem 8: Consider a circuit shown in the figure. Ignore the internal resistances of the batteries. Randomized Variables &1 = 34 V E2 = 12 V R=40 Rz=50 R3 = 32. ولا متاه A 14% Part (a) Express the current I, going through resistor R, in terms of the currents 12 and 13 going through resistors R and R3. Use the direction of the currents as specified in the figure. 1;= HOME...

  • ANSWER ALL PLEASE Question 20 2 pts In the Figure below, V1 = 14 V, V2...

    ANSWER ALL PLEASE Question 20 2 pts In the Figure below, V1 = 14 V, V2 = 8 V, V3 = 10 V, R1 = 2.00, R2 = 4.0, and R3 = 2.00 Find the electric currents is, iz, and is. (Hint: use the junction a and the two loops). RI R 14 M4 Equations: Kirchoff's Junction (node) rule: 11 = 12 + iz Kirchoff's Loop rule (left loop): V1 - iRi - iz R2 + V2 = 0 Kirchoffs...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT