100 likes | 184 Views
Engineering 25. Chp3 Tutorial: Prob 3.15 Solution. Bruce Mayer, PE Licensed Electrical & Mechanical Engineer BMayer@ChabotCollege.edu. 4. Quick Solve by Anon. Use Anonymous Function to very Quickly Solve for r min. fminbnd Command.
E N D
Engineering 25 Chp3Tutorial: Prob 3.15Solution Bruce Mayer, PE Licensed Electrical & Mechanical EngineerBMayer@ChabotCollege.edu
Quick Solve by Anon • Use Anonymous Function to very Quickly Solve for rmin
fminbnd Command • fminbnd finds the minimum of a function of one variable within a fixed interval. • Syntax for this case • [x,fval] = fminbnd(fcn,x1,x2) • [x, fval] = fminbnd(fcn,x1,x2) returns a value x that is a local minimizer; i.e., xmin. of the function that is described in fcn over the interval x1 < x< x2. • fval is the minimum value of the function for the corresponding minimizing x; that is fval = fcn(xmin).
The Function File • area3_15.m
The Sensitivity Plot ~21.37 ~1.49 ~2.35 • +10% on Amin • Amax = 1.1* 19.73 = 21.37 in2 • r → 1.49 – 2.35 in
Comments • The 10% increase in Amin Results in These Changes for rmin • -23% for rlo • +24% for rhi • Thus The change in Area is less than half the change in r. • A is NOT very SensitiveAbout the Minimum Point