Lagrangian Interpolation
|
07-12-2024, 08:28 AM
Post: #28
|
|||
|
|||
RE: Lagrangian Interpolation
(03-14-2019 07:58 PM)Thomas Klemm Wrote: Given the restrictions of the HP-25 I'm afraid we can't go further than 3 points. (07-09-2024 08:43 PM)Albert Chan Wrote: Yes, you can! Here we go: Code: 01: 24 00 : RCL 0 Example Interpolation of the \(sin\) function using well known values: \( \begin{align} (30&, 0.5) \\ (45&, \sqrt{0.5}) \\ (60&, \sqrt{0.75}) \\ (90&, 1) \\ \end{align} \) Enter the data 30 STO 0 .5 STO 1 45 STO 2 .5 \(\sqrt{x}\) STO 3 60 STO 4 .75 \(\sqrt{x}\) STO 5 90 STO 5 1 STO 6 Calculation of coefficients GTO 21 R/S Interpolation of values 37 R/S 0.6020 37 sin 0.6018 49 R/S 0.7546 49 sin 0.7547 73 R/S 0.9572 73 sin 0.9563 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)