Solving equations related to cubic splines

JellyFish

Junior Member
Joined
Jan 12, 2009
Messages
51
Hi I was wondering if anyone would be able to help me solve a few equations....
I have done enough to know that
a[sub:qsj4sqzt]0[/sub:qsj4sqzt] = 0
a[sub:qsj4sqzt]1[/sub:qsj4sqzt] = 1
and c[sub:qsj4sqzt]0[/sub:qsj4sqzt] = 0

The remainder of the equations are:
b[sub:qsj4sqzt]0[/sub:qsj4sqzt] + d[sub:qsj4sqzt]0[/sub:qsj4sqzt] = 1

b[sub:qsj4sqzt]1[/sub:qsj4sqzt] + c[sub:qsj4sqzt]1[/sub:qsj4sqzt] + d[sub:qsj4sqzt]1[/sub:qsj4sqzt] = 1

b[sub:qsj4sqzt]0[/sub:qsj4sqzt] +2c[sub:qsj4sqzt]0[/sub:qsj4sqzt] + 3d[sub:qsj4sqzt]0[/sub:qsj4sqzt] = b[sub:qsj4sqzt]1[/sub:qsj4sqzt] which I also changed to b[sub:qsj4sqzt]0[/sub:qsj4sqzt] + 3d0 = b[sub:qsj4sqzt]1[/sub:qsj4sqzt]

3d[sub:qsj4sqzt]0[/sub:qsj4sqzt] = c[sub:qsj4sqzt]1[/sub:qsj4sqzt]

c[sub:qsj4sqzt]1[/sub:qsj4sqzt] + 3d[sub:qsj4sqzt]1[/sub:qsj4sqzt] = 0
 
Re: Solving equations

Post original problem IN FULL. What you've posted makes no sense.
 
Re: Solving equations

The full question is to determine the cubic spline that interpolates x0 = 0, x1=1, x2=2 y0=0, y1=1, y2=2...and satisfies s'(0)=s'(2)=1.

So thus far I have set up S(x) as a piecewise function and I have gone through all of the conditions and the original post is what I am left with as I am trying to find the coefficients for the parts of S(x)...So(x) and S1(x) (so a0, b0, c0 and a1,b1,c1).
 
Top