clear all
close all

Vmax = 60;
Imax = 10;

b = Imax/sqrt(Vmax);

V = [0 Vmax/20 Vmax/10:Vmax/10:Vmax];
I = b*V.^(.5);
R = V./I;
R(1) = 0;


figure
subplot(2,1,1)
plot(V,I);

xlabel('Voltage');
ylabel('Current (amps)');

subplot(2,1,2)
plot(V,R);
xlabel('Voltage');
ylabel('Resistance (ohms)');

