Download presentation
Presentation is loading. Please wait.
1
Linear Interpolation Function
TI-89 Programming Linear Interpolation Function
2
How do we find the Needle Point Gap (in cm) for a Peak Voltage of 67
How do we find the Needle Point Gap (in cm) for a Peak Voltage of 67.3 kV? Note that as the voltage increases, the gap length increases.
3
How do we find the Temperature of Air at 7,800 feet?
Note that as the altitude increases (+), the temperature decreases (-)
4
We use a technique called “linear interpolation”, in that we assume that the change from one Table entry to the next is linear. T2 Tx T1 h1 h2 h1 hx h2
5
For a solution, we require five (5) input values:
1. The given lower value 2. The given upper value 3. The “find” lower value 4. The “find” upper value 5. The given table entry value 1 3 5 7,800 2 4 Always be consistent with upper and lower values, so that whether the entries are ascending or descending, the correct sign will be maintained.
6
The function program “interp()”
Now a Function Program can be written to take the “five given values” from the Table as arguments, and return the interpolated value. Knowing the “ratio” relationship, Develop the equations needed to calculate the interpolated value, and write the function program to return that value as the output of the function. Use the examples given to test your function, and solve the assignment. The Needle Point Gap at 67.3 kV = 8.27 cm. The standard atmospheric temperature at 7,800 ft = 31.2 oF.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.