Electronics and Circuit Analysis using Matlab or Octave.
The voltage, v, across a resistance is given as (Ohm’s Law),
v=Ri, where i is the current and R the resistance. The power
dissipated in resistor R is given by the expression:
If R = 10 Ohms and the current is increased from 0 to 10 A
with increments of 2A, write a MATLAB or OCTAVE program
to generate a table of current, voltage and power dissipation.