Info

此问题已关闭。 请重新打开它进行编辑或回答。

I don't know what i am doing wrong. I have to find v2

1 次查看(过去 30 天)
problem.PNG
R = [5,100,200,150,250000];
v1 = 100; %v2 = unknown;
A1 = [R(1) + R(4), -R(4), 0];
A2 = [-R(4), R(2) + R(4) + R(5), -R(5)];
A3 = [0, R(5), -(R(3) + R(5))];
A = [A1; A2; A3];
b=[v1; 0; v2];
current = A\b;
disp('The currents are:')
disp(current)
  5 个评论
Image Analyst
Image Analyst 2019-12-14
I don't see W or Ti in the diagram or the equations.
And I've not heard of resistor circuits having a structure that can support weights or be compressed (or stretched) - sounds more like a physics questions about springs and beams or something. Am I missing something?

回答(1 个)

Anthony Leung
Anthony Leung 2019-12-13
R = [5,100,200,150,250000]; v2=[0:0.01:100] v1 = 100; A1 = [R(1) + R(4), -R(4), 0]; A2 = [-R(4), R(2) + R(4) + R(5), -R(5)]; A3 = [0, R(5), -(R(3) + R(5))]; A = [A1; A2; A3]; B=[v1; 0; v2]; I = A\B; (abs(I)<=0.001)
What can i fix?

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by