Download presentation
Presentation is loading. Please wait.
Published byWhitney May Modified over 6 years ago
1
L14 Curve Fitting Homework Curve Fitting – least squares
Curve Fitting - optimization Summary
2
H13 prob 6.5 Beware: some problems don’t need solving!
f(x)=0, when x=0!
3
H13 Prob 6.9
4
Prob 6.9 RJE sol’n
5
Prob 3.33 Why is this formulation better?
6
Prob 3.33 cont’d
8
Report #1
9
Report #2
10
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
11
Figure 6.13 Excel worksheet for the spring design problem.
12
Curve fitting
13
Minimize sum of all errors?
14
NC for Unconstrained z(a,b)
15
Straight Line Least Squares
All numbers Mathematical method that works for straight lines! Another way? Especially for non-linear curve fits?
16
Types of curves Need to find the parameters ai
Another way? Especially for non-linear curve fits?
17
Use Excel & Solver (Garnero)?
19
Curve Fit example
20
Summary Pay attention to layout May need multiple starting points
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
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.