E ENGR-25_Chp2_AirCraft_Separation_.pptx 1 Bruce Mayer, PE Engineering-25: Computational Methods Bruce Mayer, PE Licensed Electrical & Mechanical Engineer.

Slides:



Advertisements
Similar presentations
Licensed Electrical & Mechanical Engineer
Advertisements

FETs-1 (Field Effect Transistors)
MTH16_MTE1_Review.pptx 1 Bruce Mayer, PE Mathematics 16: Applied Calculus-II Bruce Mayer, PE Licensed Electrical & Mechanical.
ENGR-45_Prob_3-5_3-12_2-16_Lab.ppt 1 Bruce Mayer, PE Engineering-45: Materials of Engineering Bruce Mayer, PE Licensed Electrical.
ENGR-25_Plot_Model-2.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
Introduction to Graphing Using MATLAB. Line Graphs  Useful for graphing functions  Useful for displaying data trends over time  Useful for showing.
ENGR-25_TYU_chp02.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
Chp3 Tutorial: Prob 3.14 Solution
ENGR-25_Plot_Model-2.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
ENGR-25_Prob_9_3_Solution.ppt 1 Bruce Mayer, PE Engineering-25: Computational Methods Bruce Mayer, PE Licensed Electrical & Mechanical Engineer
ENGR-43_Lec-06c_2ndOrder-Filter_MATLAB-BodePlots.pptx 1 Bruce Mayer, PE Engineering-43: Engineering Circuit Analysis Bruce Mayer,
ENGR-25_Prob_9_3_Solution.ppt 1 Bruce Mayer, PE Engineering-25: Computational Methods P1-26 Law of CoSines  Given Irregular Quadrilateral  By Law of.
MTH16_Lec-19_sec_10-3_Taylor_Series.pptx 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical & Mechanical.
ENGR-25_Lec-29_MS_Excel-2.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
MTH16_Lec-01_sec_6-1_Integration_by_Parts.pptx 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical.
ENGR-25_Lec-25_SimuLink-1.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
Licensed Electrical & Mechanical Engineer
ENGR-25_Chp6_Tutorial_PolyFit_J_S_rsq.pptx 1 Bruce Mayer, PE Engineering-25: Computational Methods Bruce Mayer, PE Licensed Electrical & Mechanical Engineer.
ENGR-25_HW-01_Solution.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
ENGR-25_Arrays-2.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
MTH15_Lec-02_Fa13_sec_1-2_Fcn_Graphs.pptx 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical & Mechanical.
ENGR-25_MATLAB_OverView-1.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
Licensed Electrical & Mechanical Engineer
ENGR-25_Prob_10-25_Catenary_Solution.ppt.ppt 1 Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods Bruce Mayer, PE Registered.
ENGR-36_Lec-22_Wedge-n-Belt_Friction.pptx 1 Bruce Mayer, PE Engineering-36: Engineering Mechanics - Statics Bruce Mayer, PE Licensed.
MTH55_Lec-46_sec_7-6b_2Var_Radical_Eqns.ppt 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical &
ENGR-25_Programming-4.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods 1 Bruce Mayer, PE Licensed Electrical.
ENGR-25_MATLAB_OverView-1.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
ENGR-25_Programming-3.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
ENGR-25_EXCEL_Integration_Tutorial-Example.pptx 1 Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods Bruce Mayer, PE Registered.
MTH55_Lec-29_Fa08_sec_6-1_Rational_Fcn_Mult-n-Div.ppt 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical.
ENGR-43_Lec-04b_2nd_Order_Ckts.pptx 1 Bruce Mayer, PE Engineering-43: Engineering Circuit Analysis Bruce Mayer, PE Registered.
MTH55_Lec-26_sec_5-7_PolyNom_Eqns-n-Apps.ppt 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical.
ENGR-25_Linear_Regression_Tutorial.ppt 1 Bruce Mayer, PE Engineering-25: Computational Methods Bruce Mayer, PE Licensed Electrical & Mechanical Engineer.
ENGR-36_Lab-24_Fa07_Lec-Notes.ppt 1 Bruce Mayer, PE Engineering-36: Engineering Mechanics - Statics Bruce Mayer, PE Licensed Electrical & Mechanical Engineer.
ENGR-25_Plot_Model-4.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Registered Electrical.
ENGR-25_Prob_10-25_Catenary_Solution.ppt.ppt 1 Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods Bruce Mayer, PE Registered.
ENGR-25_Programming-4.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods 1 Bruce Mayer, PE Licensed Electrical.
ENGR-25_Prob_2-24_Solution.ppt 1 Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods Bruce Mayer, PE Registered Electrical.
ENGR-25_Prob_6-12_Solution.ppt 1 Bruce Mayer, PE Engineering-25: Computational Methods Bruce Mayer, PE Licensed Electrical & Mechanical Engineer
1-d Arrays & Plotting.
MTH55_Lec-45_7-6a_Radical_Equations.ppt 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical & Mechanical.
ENGR-25_HW-01_Solution.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
ENGR-44_Lec-06-2_Inductors.ppt 1 Bruce Mayer, PE Engineering-43: Engineering Circuit Analysis Bruce Mayer, PE Licensed Electrical.
MTH55_Lec-48_sec_8-1a_SqRt_Property.ppt 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical & Mechanical.
ENGR-25_Lec-21_Integ_Diff.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
MTH55_Lec-54_sec_8-5a_PolyNom_InEqual.ppt 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical & Mechanical.
ENGR-25_Programming-1.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Registered Electrical.
ENGR-25_HW-01_Solution.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
MTH15_Lec-17a_sec_3-5_Round_End_Fence_Enclosure.pptx 1 Bruce Mayer, PE MTH15: Applied Calculus I Bruce Mayer, PE Licensed Electrical.
© ENGR-43_Prob_14-32_OpAmp_OutPut_Current.pptx 1 Bruce Mayer, PE Engineering-43 Electrical Circuits & Devices Bruce Mayer, PE.
ENGR-43_Lec-04b_2nd_Order_Ckts.pptx 1 Bruce Mayer, PE Engineering-43: Engineering Circuit Analysis Bruce Mayer, PE Registered.
ENGR-25_HW-01_Solution.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
ENGR-25_Linear_Regression_Tutorial.ppt 1 Bruce Mayer, PE Engineering-25: Computational Methods Bruce Mayer, PE Licensed Electrical & Mechanical Engineer.
Licensed Electrical & Mechanical Engineer
MTE2 Review 2nd Order Transient Ckt
Chp4 Tutorial: Prob 4.25 Solution
Catenary Tutorial Part-2
Chp3 Tutorial: Prob 3.15 Solution
Licensed Electrical & Mechanical Engineer
§5.7 PolyNomial Eqns & Apps
Lab-23 Chp10 Beam VM Diagrams By Calculus
Chp3 Nodal Analysis & MATLAB
Test Your Understanding Chp01
Chp4, Lab-03 Example Problems 4.5.[60,54]
Licensed Electrical & Mechanical Engineer
Chp12 Prob Solution Common-Source pFET Amplifier
Licensed Electrical & Mechanical Engineer
Prob 9-28 Solution Tutorial
Presentation transcript:

E ENGR-25_Chp2_AirCraft_Separation_.pptx 1 Bruce Mayer, PE Engineering-25: Computational Methods Bruce Mayer, PE Licensed Electrical & Mechanical Engineer Engineering 25 Prob 2.41 AirCraft Separation

E ENGR-25_Chp2_AirCraft_Separation_.pptx 2 Bruce Mayer, PE Engineering-25: Computational Methods P2.41 MidAir Collision(?)  The position and velocity of two AirCraft, A & B, are shown as below  AirCraft Position at 1pm

E ENGR-25_Chp2_AirCraft_Separation_.pptx 3 Bruce Mayer, PE Engineering-25: Computational Methods P2.41 Close Miss  Goals for P2.41 a)Plot D vs. t until D reaches the MINIMUM VALUE b)Use the roots command to find t such D first = 30 mi

E ENGR-25_Chp2_AirCraft_Separation_.pptx 4 Bruce Mayer, PE Engineering-25: Computational Methods P2.41 GamePlan  This is a PARAMETRIC Problem  TIME is the INDEPENDENT variable For each moment in time, x A and y B Thus for every value of t we can calc x A and y B Then us Pythagorus to find D min Finally, use the roots the command to solve the Pythagorean Quadratic Eqn

E ENGR-25_Chp2_AirCraft_Separation_.pptx 5 Bruce Mayer, PE Engineering-25: Computational Methods Time Difference At Start mph mph A ½-Hour Later mph mph

E ENGR-25_Chp2_AirCraft_Separation_.pptx 6 Bruce Mayer, PE Engineering-25: Computational Methods MATLAB CODE (May have BOBBY TRAPS) % Bruce Mayer, PE % ENGR25 * 04ep10 % AirCraft NearMiss * AirCraft_NearMiss_Prob2_41_1109.m % % Find tmax using given speeds & distances tmax = max(320/800, 160/410) % % divide guessed tmax in t0 500 pieces t = linspace(0, tmax, 500); % % Calx xA & yB based on t, the starting-positions and speeds xA = *t; yB = *t; % % Calc the corresponding 500 D values with pythagorus xsq = xA.^2; ysq = yB.^2; % sq xA & yB SumxA = sum(xsq); SumyB = sum(ysq); % sum the x & y values SumTot = SumxA + SumyB; % add the sums D = sqrt(xA.^2 + xA.^2); % % Now find value & index (address) for minimum D [Dmin, DminIndex] = min(D) % next the value of t that corresponds to Dmin tmin = t(DminIndex) % % Now Plot The Separation distance vs time plot(t,D, 'linewidth', 3), xlabel('Hours after 1pm');,... ylabel('AirCraft Separation Distance (mi)'),grid % % PART B % must solve pythagorean eqn % => 30 = [xA^2 + yB^2] % subbing for t %=> 30 = [( t)^2 + ( t)^2] % % Can use conv command to square polynomial PA = conv([ ], [-320,800]) PB = conv([ ], [-160,410]) Ptot = PA + PB % % Now subtract 900 from both sides then use roots D30 = roots(Ptot - [ ]) % % Now that we know the "close miss time is hrs Let "zoom in" on the % plot tz = linspace(2.4, 2.65, 500); % % Calx xA & yB based on t, the starting-positions and speeds xAz = *tz; yBz = *tz; % % Calc the corresponding 500 D values with pythagorus xsqz = xAz.^2; ysqz = yBz.^2; % sq xA & yB SumxAz = sum(xsqz); SumyBz = sum(ysqz); % sum the x & y values SumTotz = SumxAz + SumyBz; % add the sums Dz = sqrt(yBz.^2 + yBz.^2); % % Now find value & index (address) for minimum D [Dminz, DminIndexz] = min(Dz) % next the value of t that corresponds to Dmin tminz = tz(DminIndexz) % disp('Getting ready to show ZOOMED plot"; Hit Any Key to continue') pause % % Now Plot The Separation distance vs time plot(tz,Dz, 'linewidth', 3), xlabel('Hours after 1pm');,... ylabel('AirCraft Separation Distance (mi)'),grid

E ENGR-25_Chp2_AirCraft_Separation_.pptx 7 Bruce Mayer, PE Engineering-25: Computational Methods

E ENGR-25_Chp2_AirCraft_Separation_.pptx 8 Bruce Mayer, PE Engineering-25: Computational Methods