• Tidak ada hasil yang ditemukan

04 PENCOCOKAN KURVA - Spada UNS

N/A
N/A
Protected

Academic year: 2024

Membagikan "04 PENCOCOKAN KURVA - Spada UNS"

Copied!
16
0
0

Teks penuh

(1)

04 PENCOCOKAN KURVA

(2)

DR. ADRIAN NUR, S.T., M.T.

“Metode Numeris & Pemograman Komputer”

Program Studi Teknik Kimia

04 PENCOCOKAN KURVA

(3)

BAHAN KAJIAN

Dasar – dasar dan Pemograman dengan MATLAB

Akar Persamaan (non linier) Pencocokan Kurva

(Regresi dan Interpolasi)

5 Integral Numeris

6 Optimasi

7 Persamaan Differensial Ordiner

8 Persamaan Differensial Parsial

Persamaan Aljabar Linier

1 2 3 4

(4)

MATERI

Regresi Regresi

Interpolasi

Interpolasi

(5)

INTRODUCTION

Data are often given for discrete values along a continuum.

However, we may require estimates at points between the discrete values.

This Chapter describes techniques to fit curves to such data to

obtain intermediate estimates.

(6)

There are two general approaches for curve fitting that are distinguished from each other on the basis of the amount of error associated with the data.

- Regression - Interpolation

(7)

REGRESSION

The data exhibit a significant degree of error, the strategy is to derive a single curve that represents the general trend of the data.

Because any individual data point may be incorrect, we make no effort to intersect every point. Rather, the curve is designed to follow the pattern of the points taken as a group. One approach of this nature is called least-

squares regression

(8)

INTERPOLATION

The data are known to be very precise, the basic approach is to fit a curve or a series of curves that pass directly through each of the points.

Such data usually originate from tables. Examples are values for the density of water or for the heat capacity of gases as a function of temperature.

The estimation of values between well-known discrete points is called interpolation

(9)

Three attempts to fit a “best” curve through five data points:

(a) least-squares regression, (b) linear interpolation, (c) curvilinear interpolation.

(10)

Regresi

Regresi

(11)

4.1. REGRESSION

LINEAR REGRESSION

The primary objective of this method is to how least- squares regression can be used to fit a straight line to measured data.

The mathematical expression for the straight line is, y = a0 + a1x

(12)

One strategy for fitting a “best” line through the data would be to minimize the sum of the residual errors for all the available data, as in

(13)

Examples of some criteria for “best fit” that are inadequate for regression:

(a) minimizes the sum of the residuals,

(b) minimizes the sum of the absolute values of the residuals, and (c) minimizes the maximum error of any individual point.

(14)

A strategy that overcomes the shortcomings of the aforementioned approaches is to minimize the sum of the squares of the residuals:

(15)

To determine values for a0 and a1, Eq. above is differentiated with respect to each unknown coefficient:

(16)

These are called the normal equations. They can be solved simultaneously for

Referensi

Dokumen terkait

The proof of this lemma would follow by the same arguments as the proof of Lemma 3.1 of [5], applying the criterion for absolute continuity of the supremum of a Gaussian

Furthermore, we discuss the equivalence of uniqueness criteria for chains and fields and we establish bounds for the continuity rates of the respective systems of

AFRICAN JOURNAL FOR THE PSYCHOLOGICAL STUDY OF SOCIAL ISSUES Page | 209 According to Asiwaju 1993,border regions or borderlands are, by reason of their proximity to an international

The OO approach is possibly more appropriate for geographical data than the relational model, since it allows the modelling of complex, real-world objects, Accommodation Tourist

 For low speed direct drive wind turbine generators the permanent magnet generator is more competitive because it can have higher pole number of 60 or more poles compared to a

Table 3.1–1 Ideas for new laundry detergents causing less pollution These speculations will be used in Section 3.3 to illustrate the sorting of ideas.. Wash without

A given SOL may be supportable with less resources inputs over time, but if population grows rapidly the effect of the increased demand for resources can quikly ‘swamp’ such efficiency

Factors affecting the development of haploid plants in vitro Anther stage - most responsive cells for haploid embryo formation are those between the tetrad stage of microsporogenesis