Cubic Spline Update

The previous post in this series presented a User Defined Function (UDF) to fit  a cubic spline to a series of points defined by XY coordinates.  Each segment of the resulting spline is defined by a separate cubic curve, which may be easily integrated to find the area under the curve.  The UDF CSArea() has been added to the cubic spline spreadsheet to perform this function.  The spreadsheet may be downloaded from:  As usual, the spreadsheet includes full open source code. 

The screenshot below provides additional detail of the area calculation, and an example finding the area of a semi-circle: 

CSArea Function example, Click for full size view

This entry was posted in Coordinate Geometry, Excel, Maths, Newton, UDFs, VBA and tagged , , , , . Bookmark the permalink.

1 Response to Cubic Spline Update

  1. Pingback: More on cubic splines « Newton Excel Bach, not (just) an Excel Blog

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.