Presentation is loading. Please wait.

Presentation is loading. Please wait.

L14 Curve Fitting Homework Curve Fitting – least squares

Similar presentations


Presentation on theme: "L14 Curve Fitting Homework Curve Fitting – least squares"— Presentation transcript:

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

7

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)?

18

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


Download ppt "L14 Curve Fitting Homework Curve Fitting – least squares"

Similar presentations


Ads by Google