% MPX-5, Sea Leval
% trim a vehicle by finding v and hdot
%   as a function of alpha and thrust
% constants
Bhpmin=0;
Bhpmax=1.0;
alphamin=0;
alphamax=20/57.3;
inc=(Bhpmax-Bhpmin)/10;
data=[];
%
for Bhp=Bhpmin:inc:Bhpmax;
	temp=trimalpha(alphamin,alphamax,Bhp);
	data=[data;temp];
end
format short e
save data
disp('MPX-5, Sea Level')
data
%data=[v(ft/sec),hdot(ft/sec),alpha(rad),Bhp(hp),cost]
% v=data(:,1);
% hdot=data(:,2);
% alpha=data(:,3);
% Bhp=data(:,4);
% cost=data(:,5);
