Solution

We seek to fit a cubic polynomial on the interval [0, 2] and another cubic polynomial on the interval [2, 4]. These take forms:

[s1]
   
[s2]
 

Ads by Contingency Analysis

These must satisfy conditions [2] to [5]. The first condition requires that

p1(0) = 1 [s3]
   
p1(2) = 2 [s4]
   
p2(2) = 2 [s5]
   
p2(4) = 0 [s6]

The second condition requires

[s7]

The third condition requires

[s8]

and the fourth condition requires

[s9]

 

 

[s10]

We have eight equations in eight unknowns. These can be expressed as

[s11]

which we solve to obtain

[s12]

Accordingly, our two polynomials are

[s13]

   
[s14]

[Return]

Ads by Contingency Analysis  

Advertise on this site

 

Disclaimer

website: http://www.contingencyanalysis.com
glossary direct link: http://www.riskglossary.com
copyright © Contingency Analysis, 2006