level_flight_speeds - z = z + 1; end e w = 0; fh =...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function [Vl, Vh] = level_flight_speeds(h, Vli, Vhi) f z = 0; dV = 1e-4; fl = thrust_drag(h, Vli); dfl = (thrust_drag(h, Vli + dV) - thrust_drag(h, Vli)) / dV; d dVl = fl / dfl; d Vl = Vli - dVl; V fl = thrust_drag(h, Vl); dfl = (thrust_drag(h, Vl + dV) - thrust_drag(h, Vl)) / dV; dVl = fl / dfl; Vl = Vl - dVl;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: z = z + 1; end e w = 0; fh = thrust_drag(h, Vhi); dfh = (thrust_drag(h, Vhi + dV) - thrust_drag(h, Vhi)) / dV; d dVh = fh / dfh; d Vh = Vhi - dVh; V while(dVh > 1e-4 && w < 1000) fh = thrust_drag(h, Vh); dfh = (thrust_drag(h, Vh + dV) - thrust_drag(h, Vh)) / dV; dVh = fh / dfh; Vh = Vh - dVh; w = w + 1; end e...
View Full Document

This note was uploaded on 09/18/2011 for the course ASE 167M taught by Professor Staff during the Spring '10 term at University of Texas at Austin.

Ask a homework question - tutors are online