w1 = [0  2  3  4  5  6  7  8 9]'
w2 = ones(9,1)
P = [1.625 1.813 1.987 2.213 2.516 3.020 3.698 4.448 5.292]'
