how do i do this problem?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Write a function M-file called par_res that
– takes as input two resistor values (say R1 and R2), and
– outputs the equivalent resistance, say R_eq, if the two resistors are in parallel.
2 Comments
MEHABOOBSUBANI GULEDKOPP
on 12 Oct 2018
Edited: MEHABOOBSUBANI GULEDKOPP
on 12 Oct 2018
function R_eq = par_res(R1,R2)
R_eq = R1*R2/(R1+R2);
end
Kamran Salehi
on 12 Oct 2018
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!