Find out and plot the equation of Hermite form of the cubic spline Assignment Help

Assignment Help: >> Brief Treatment of Synthetic Curves - Find out and plot the equation of Hermite form of the cubic spline

Find out and plot the equation of Hermite form of the cubic spline:

Find out and plot the equation of Hermite form of the cubic spline from given position vectors and slopes at the data points with vector magnitude equal to 1.

Point 1 : A = [1, 2]T, slope (A) = 60o

Point 1 : B = [3, 1]T, slope (B) = 30o

Solution

In this instance, for simplicity, just one segment of Hermite cubic spline is considered.

Vx  = Vx (t ) = Vx (0) (1 - 3t 2  + 2t3 ) + Vx (1) (3t 2  - 2t3 )

+ Vx′ (0) (t - 2t 2 + t3) + Vx′ (1) (- t 2 + t3)

From the given data, we obtain

Vx (0) = 1,  Vx (1) = 3

As the magnitude of the tangent vector is 1,

V'x (0) = 1 . cos 60,  V'x (1) = 1 . cos 30

Upon substitution of these values in Equation V (t), we get

Vx  = 1 (1 - 3t 2  + 2t3 ) + 3 (3t 2  - 2t 3 ) + cos 60 (t - 2t 2  + t3 ) + cos 30 (- t 2  + t3 )

1561_Find out and plot the equation of Hermite form of the cubic spline.png

Likewise, from Equation V (t),

Vy  = Vy (t ) = Vy (0) (1 - 3t 2  + 2t3 ) + Vy (1) (3t 2  - 2t3 )

+ Vy′ (0) (t - 2t 2  + t 3 ) + Vy′ (1) (- t 2  + t 3 )

 Again, from the given data,

Vy (0) = 2,        Vy (1) = 1

V'y (0) = 1 . sin 60,       V'y (1) = 1 . sin 30

Upon substitution of these values in Equation V (t), we achieved

Vy  = 2 (1 - 3t 2  + 2t3 ) + 1 (3t 2  - 2t3 ) + cos 60 (t - 2t 2  + t3 ) + sin 30 (- t 2  + t 3 )

810_Find out and plot the equation of Hermite form of the cubic spline1.png

To examine it, we substitute t = 0, 1 into the previous equations; then

V (t = 0) = [1, 2],          V (t = 1) = [3, 1],

94_Find out and plot the equation of Hermite form of the cubic spline2.png

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd