• 沒有找到結果。

微積分:繪圖

N/A
N/A
Protected

Academic year: 2021

Share "微積分:繪圖"

Copied!
3
0
0

加載中.... (立即查看全文)

全文

(1)

6.5

Curve Fitting

For the data points

 6 10 15 18 20

 9 8 5 4 5

Let  () =  +  represent the function whose graph is the line and let 1 2     5 be represented the vertical distances the data points and the

line. We want to position the line so that the sum of squares of these vertical distances is as small as possible. So we will find the values of  amd  the minimize 21+ 22+ 23+ 24+ 25 Note that 21 = ( (6)− 9)2 But  (6) =  (6) +  = 6 So we get 21 = (6 + − 9)2 22 = (10 + − 8) 2 23 = (15 + − 5) 2 24 = (18 + − 4)2 25 = (20 + − 5)2 Define  ( ) = 21+ 22+ 23+ 24+ 25 = (6 + − 9)2+ (10 + − 8)2+ (15 + − 5)2 + (18 + − 4)2+ (20 + − 5)2 Then ( ) = 2170 + 138− 762 and ( ) = 138 + 10− 62 89

(2)

Thus,  = −117332 ≈ −035  = 3673 332 ≈ 11 Other type: (1)  () = +1 (two parameters); (2)  () = 2+  + 

In this section, we restrict ourselves to functions that have only two pa-rameters.

* Method of Least Squares: For the data points

 1 2 3 · · · 

 1 2 3 · · · 

Thinking of  as a function of  suppose we decide to approximate the relationship between  and  with a two-paramemter function  () of a parameter type. Let  and  represent the parameters. Then the sum

( (1)− 1) 2 + ( (2)− 2) 2 +· · · + ( ()− ) 2

is a function of  and  which we represent with the symbol  ( ) 

Theorem 73 The function  ( ) has exactly one critical point, and the critical point is the lower point.

Example 165 Last year a farmer planted a new type of legume on 5 acres that contained different amounts of fertilizer. Table shows each acre’s yield

Sacks of fertilizer 4 7 12 18 21

Yield, hundreds of pounds 3 7 9 6 4

Solution:  = −12671133702692406241 ≈ −005 and

 = 118018958825958 ≈ 13

Theorem 74 Suppose the value of  that correspond to several values of  are known. If  is regarded as a function of  the least-squares linear function that approximates the relationship between  and  is

 () = −  − 2  +

− 

 − 2 

(3)

where     and  are as follows:  =the number of data points

 =the sum of the  coordinates of the data poins  =the sum of the  coordinates of the data poins  =the sum of the squares of the  coordinates

 =the sum of the products of the  coordinates and the corresponding  coordinates.

Example 166 For the data points

 6 10 15 18 20

 9 8 5 4 5

Use above theorem.

參考文獻

相關文件

The third step is to express the proper rational function R(x)/Q(x) (from Equation 1) as a sum of partial fractions of the

Recall that we defined the moment of a particle about an axis as the product of its mass and its directed distance from the axis.. We divide D into

The Vertical Line Test A curve in the xy-plane is the graph of a function of x if and only if no vertical line intersects the curve more than once.. The reason for the truth of

As discussed in the example (Figure 3.3), the goal of the min-sum algorithm is to find a valid configuration such that the sum of the local costs (over all sites and check sets) is

If the points line on the 45 o line then the skewness and excess kurtosis seen in the stochastic residuals is the same as that of a standard normal distribution, which indicates

Mie–Gr¨uneisen equa- tion of state (1), we want to use an Eulerian formulation of the equations as in the form described in (2), and to employ a state-of-the-art shock capturing

Given a shift κ, if we want to compute the eigenvalue λ of A which is closest to κ, then we need to compute the eigenvalue δ of (11) such that |δ| is the smallest value of all of

Writing texts to convey information, ideas, personal experiences and opinions on familiar topics with elaboration. Writing texts to convey information, ideas, personal