Back to search

Oklahoma State University

Unified Software Package for Cubic Spline Interpolation

Abstract

dc:description.abstract

Cubic spline interpolation is currently performed using various routines present in different computer programming languages for various types of splines. It is less tedious and more convenient for users to use a unified software package consisting of different types of splines. However, there is no known software that interpolates all the types of splines for a given set of data points. Hence, a unified software package using Java language is developed to interpolate four types of cubic splines: natural cubic spline, complete cubic spline, clamped cubic spline, and not-a-knot cubic spline. The unified software package is tested for four basic functions: sin x, cos x, e^x, and 1/(1+x^2) within the ranges of [0, ?], [0, ?], [0, 1], and [-5, 5], respectively. The number of nodes is taken as 17(2^4+1), which represents a typical number in the interpolation of splines. Two graphs are drawn, for each function and spline pair, one showing the cubic spline curve with respect to the actual function curve and its data points, and another one displaying the difference between the spline values and the function values. Out of all the four types, the clamped cubic spline turned out to be the one interpolating the data closest to the function. This is not a surprise considering the fact that the user provides the end conditions calculated from the actual function. Also, the complete cubic spline is similar to the not-a-knot cubic spline in all the cases tested. To conclude, with the help of the unified software package, cubic spline interpolation can be done with much ease, as shown.

Degree

thesis:*
Department dc:contributor.department
Computer Science Department
College dc:contributor.school
Arts and Sciences
Grantor dc:publisher
Oklahoma State University
Year dc:date.issued
2010

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Motapotu, Praveen
Advisor dc:contributor.advisor
  • Chandler, John P.
Committee members dc:contributor.committeemember
  • George, K. M.
  • Park, Nohpill

Rights

dc:rights.accessrights
Statement dc:rights.accessrights
  • Open Access
  • Copyright is held by the author who has granted the Oklahoma State University Library the non-exclusive right to share this material in its institutional repository. Contact Digital Library Services at lib-dls@okstate.edu or 405-744-9161 for the permission policy on the use, reproduction or distribution of this material.
Language dc:language
en_US

Identifiers

dc:identifier.*
Mods Identifier Filename
Motapotu_okstate_0664M_11177.pdf

Chain of custody

source
Harvested from
Oklahoma State University
Base URL
openresearch.okstate.edu/server/oai/request
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
related terms
citation

Motapotu, Praveen. Unified Software Package for Cubic Spline Interpolation. Oklahoma State University, 2010. https://hdl.handle.net/20.500.14446/8203