0% found this document useful (0 votes)
2 views1 page

Tutorial Sheet8

Uploaded by

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

Tutorial Sheet8

Uploaded by

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

Birla Institute of Technology and Science, Pilani-K. K.

Birla Goa Campus


First Semester 2024-2025

Numerical Analysis
(MATH F313)
Tutorial Sheet-8

Note: All the problems use 5-digit floating point arithmetic with rounding.

1. A natural cubic spline S is defined by



S0 (x) = 1 + α (x − 1) − β (x − 1)3 , if 1 ≤ x < 2
S(x) =
S1 (x) = 1 + γ (x − 2) − 43 (x − 2)2 + δ (x − 2)3 , if 2 ≤ x ≤ 3.

If S interpolates the data (1, 1), (2, 1) and (3, 0) then find α, β, γ and δ.

2. Find a natural cubic spline interpolating function for the data:

x 1 2 3
y 1 1 0

3. Fit a curve of the type y = aebx for the following data set:

x 77 100 185 239 285


y 2.4 3.4 7.0 1.1 19.6

Use 5-digit floating point arithmetic with rounding.

4. A physicist wants to approximate the following data:

x 0.0 0.5 1.0 2.0 3.0


y(x) 0.01 0.57 1.46 5.05 8.69

using a function a bx . Find the function using least square approximation.

You might also like