0% found this document useful (0 votes)
250 views2 pages

Linear Interpolation

The document provides three examples of using linear interpolation to find the position of ungrouped data. Each example involves sorting the data, identifying the surrounding data points, and using a formula to calculate the interpolated value based on the position and difference between data points. The examples find the interpolated value for positions 3, 2, and 4.5 within different data sets.

Uploaded by

Vicky Bianca
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
250 views2 pages

Linear Interpolation

The document provides three examples of using linear interpolation to find the position of ungrouped data. Each example involves sorting the data, identifying the surrounding data points, and using a formula to calculate the interpolated value based on the position and difference between data points. The examples find the interpolated value for positions 3, 2, and 4.5 within different data sets.

Uploaded by

Vicky Bianca
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Sure!

Here are three examples to illustrate how to use linear interpolation as a measure of position for
ungrouped data:

Example 1:

Suppose you have the following ungrouped data: [12, 15, 20, 22, 25]. You want to find the interpolated
value for the position of 3.

Step 1: Sort the data in ascending order: [12, 15, 20, 22, 25].

Step 2: The position is 3, and the value at position 3 is 20.

Step 3: The two data points surrounding position 3 are 15 and 20.

Step 4: Calculate the interpolation:

Interpolated value = 15 + (3 - 2) × (20 - 15) / (3 - 2)

= 15 + 1 × 5 / 1

= 15 + 5

= 20

Therefore, the interpolated value for position 3 is 20.

Example 2:

Consider the ungrouped data: [4, 7, 10, 14, 18]. We want to find the interpolated value for the position
of 2.

Step 1: Sort the data in ascending order: [4, 7, 10, 14, 18].

Step 2: The position is 2, and the value at position 2 is 7.

Step 3: The two data points surrounding position 2 are 4 and 7.

Step 4: Calculate the interpolation:

Interpolated value = 4 + (2 - 1) × (7 - 4) / (2 - 1)

=4+1×3/1

=4+3

=7
Therefore, the interpolated value for position 2 is 7.

Example 3:

Let's take the ungrouped data: [2, 6, 8, 11, 13]. We want to find the interpolated value for the position of
4.5.

Step 1: Sort the data in ascending order: [2, 6, 8, 11, 13].

Step 2: The position is 4.5. The value at position 4 is 11, and the value at position 5 is 13.

Step 3: The two data points surrounding position 4.5 are 11 and 13.

Step 4: Calculate the interpolation:

Interpolated value = 11 + (4.5 - 4) × (13 - 11) / (5 - 4)

= 11 + 0.5 × 2 / 1

= 11 + 1

= 12

Therefore, the interpolated value for position 4.5 is 12.

You might also like