200 likes | 442 Views
L14 Curve Fitting. Homework Curve Fitting – least squares Curve Fitting - optimization Summary. H13 prob 6.5. Beware: some problems don’t need solving! f ( x )=0, when x = 0!. H13 Prob 6.9. Prob 6.9 RJE sol’n. Prob 3.33. Why is this formulation better?. Prob 3.33 cont’d. Report #1.
E N D
L14 Curve Fitting • Homework • Curve Fitting – least squares • Curve Fitting - optimization • Summary
H13 prob 6.5 Beware: some problems don’t need solving! f(x)=0, when x=0!
Prob 3.33 Why is this formulation better?
Worksheet Modifications • Naming cells • Inserting shapes • Inserting MS Equation “object” • Recording macros • Attaching a macro to a shape • Creating a SOLVER hot button • Visual basic, tools/references/solver
Straight Line Least Squares All numbers Mathematical method that works for straight lines! Another way? Especially for non-linear curve fits?
Types of curves Need to find the parameters ai Another way? Especially for non-linear curve fits?
Summary • Pay attention to layout • Design variables • Parameters • Analysis/Performance “Variables” • Objective function • Constraints • May need multiple starting points • Curve fitting w/optimization methods = min sum of errors to find parameters ai