function test(n)
tic;
npartition(@(t) 0.3+3.9*2*t-4.7*3*t^2, @(t) 0.3+0.9*2*t-2.7*3*t^2,n)
toc
tic;
bpartition(@(t) 0.3+3.9*2*t-4.7*3*t^2, @(t) 0.3+0.9*2*t-2.7*3*t^2,n)
toc