You are on page 1of 3

THE CLOSEST APPROXIMATION:

Introduction
Since Curve Fitting Toolbox can handle splines with vector coefficients, it is easy to implement
interpolation or approximation to gridded data by tensor product splines. Most spline construction
commands in the toolbox take advantage of this.
However, you might be interested in seeing a detailed description of how approximation to gridded
data by tensor products is actually done for bivariate data. This will also come in handy when you
need some tensor product construction not provided by the commands in the toolbox.

Decimal Fraction
Q.

Which is the closest approximation to he product 0.3333 x 0.25 x 0.499 x 0.125 x 24 ?

A. 1818
B. 3434
C. 3838
D. 2525

Answer & Explanation


Answer : Option A

Explanation :

Given product = 0.3 x 0.25 x 0.5 x 0.125 x 24

= (310×25100×510×1251000×24)(310×25100×510×1251000×24) = 980980 = 1818 (App.)

Exercise 1

31. 0.000006723 when expressed in scientific notation, is :

A. 6723 * 10-5

B. 67.23 * 107

C. 6.723 * 106

D. None of these

32.View Answer | Report Error

33. 0.014 * 0.014 = ?

A. 0.000196
B. 0.00196
C. 19.6
D. 196
34.View Answer | Report Error
Error of the Approximation
Here is a plot of the error, i.e., the difference between the given data value and the value of the spline
approximation at those data sites.
errors = z - spcol(knotsx,kx,x)*coefs*spcol(knotsy,ky,y).';
mesh(x,y,errors.');
xlabel('x'); ylabel('y');
view(150,50);
title('Error at the Given Data Sites');

You might also like