close all
clear all

Kv = 1.35*92.7/1000;

N = 100;

P = 0.3*N;

RL = 1.2+2.35;

Dbar = 0:.01:1;

a = Dbar;
b = -Kv*N*ones(1,length(Dbar));
c = RL*P./Dbar;

x1 = -b+(b.^2-4*a.*c).^.5;
x1 = x1./(2*a);

x2 = -b-(b.^2-4*a.*c).^.5;
x2 = x1./(2*a);

plot(Dbar,x1,Dbar,x2)
xlabel('Dbar')
ylabel('Output Voltage (V)')
title(['N = ' num2str(N) 'rpm']);
ylim([0 250]);