[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y / ] [Home]
4chanarchives logo

Constructing a natural cubic spline


Thread replies: 3
Thread images: 1

File: NO_FILE_GIVEN (93KB, 486x500px)
NO_FILE_GIVEN
93KB, 486x500px
Please baby step me through the solution. For example, how the heck did they get b0 = 3/4? It should bereally simple (seems like it's just a bunch of substitutions for known values), but for some reason I have no idea how to find it.

I get that a0 = 2, a1 = 3, and c0 = 0. So now c1 = 2*d0. But there's nothing that isolates d0, so we can't easily find c1. Alternatively, we can see that 3 = 2 + b0 + d0, but no matter how many times i isolate b0, i can't seem to find a value for it either.

Thank you in advance.
>>
File: DSC_0144.jpg (478KB, 1104x828px) Image search: [Google] [Yandex] [Bing]
DSC_0144.jpg
478KB, 1104x828px
Resized the picture.. Sorry about that.
>>
Well, you need to solve the linear system of the 5 remaining variables since a0=2, a1=3, c0=0 are already given.

This leads to
b0 + d0 = 3 - a0 = 3- 2 = 1

b1 + c1 + d1 = 5 - a1 = 2

b0 + 3d0 = b1

6d0 = 2c1 => c1 = 3d0

2c1 + 6d1 = 0 => c1 = -3d1 => d1 = -d0

Now we can insert b1,c1,d1 in the second equation:
(b0 + 3d0) + (3d0) + (-d0) = 2
b0 + 5d0 = 2

b0 + d0 = 1 => 4d0 = 1, d0 = 1/4, b0 = 3/4 and so on.
Thread replies: 3
Thread images: 1
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y / ] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
If a post contains illegal content, please click on its [Report] button and follow the instructions.
This is a 4chan archive - all of the content originated from them. If you need information for a Poster - you need to contact them.
This website shows only archived content and is not affiliated with 4chan in any way.
If you like this website please support us by donating with Bitcoin at 1XVgDnu36zCj97gLdeSwHMdiJaBkqhtMK