Clear Filters
Clear Filters

can you explain for me how we can find current when gave us many resistives and one voltage??

2 views (last 30 days)
*you have current circle with differnt resistives

Answers (2)

James Tursa
James Tursa on 30 Apr 2013
We are not sure what your MATLAB problem really is, but here is an example:
Voltage = 120; % One voltage
Resistance = [100 200 300 400 500]; % Many resistances
Current = Voltage ./ Resistance; % Note the dot-slash for elementwise division
  3 Comments
Walter Roberson
Walter Roberson on 1 May 2013
Ohm's law is symmetric: you get the same final answer no matter whether resistor R1 proceeds or follows resistor R2 in series, and no matter whether resistor R1 is "left" or "right" of resistor R2 in parallel.
The original question talks of a "circle", which implies series, so for the end-to-end measurement (if there were such a thing in a circle) the order would be irrelevant.
My speculation is that the actual question involves finding the current as measured at intermediate points between the resistors: in such a case, the intermediate values do depend upon order.
But who knows... maybe it is a question about induced eddy currents, such as a jumping ring experiment
James Tursa
James Tursa on 1 May 2013
I have no idea what the original problem really is. I threw out the simplest answer I could (e.g. maybe OP is just trying to plot a current vs resistance curve for a simple circular circuit) in hopes we could get some response and clarification. No luck yet. Maybe Azzi's first comment to the question is the best answer so far ...

Sign in to comment.


Walter Roberson
Walter Roberson on 30 Apr 2013
Ohm's Law.

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!