write a matlab function to find the equivalent resistance for the given circuit below
79 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Habtamu Tamene
el 13 de Jul. de 2021
Respondida: S. M. Raiyan Chowdhury
el 13 de Jul. de 2021
2 comentarios
Max Heiken
el 13 de Jul. de 2021
What were your previous attempts? Where are you stuck? Do you want others to do the work for you or do you want to learn something?
Scott MacKenzie
el 13 de Jul. de 2021
Editada: Scott MacKenzie
el 13 de Jul. de 2021
For two resistors in series (e.g., Ra and Rb), the equivalent resistance is Ra + Rb. For two resistors in parallel (e.g., Rc and Rd), the equivalent resistance is 1 / (1/Rc + 1/Rd). With this information and the figure in your question, you should be able to compute the equivalent resistance of the entire circuit.
Tip: Take it one step at a time -- start with R6 and R7.
If you get stuck, post your code and a follow-up question.
Respuestas (1)
S. M. Raiyan Chowdhury
el 13 de Jul. de 2021
% You can use the following MATLAB function to perform your task.
% Here, take R = [R1, R2, R3, R4, R5, R6, R7]
function Req = equiv_res(R)
par = inline("1/(1/x + 1/y)");
Req = R(1) + par(R(2) + R(3), R(4) + par(R(5), R(6) + R(7)));
end
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!