This week I've switched to using Octave. I thought I had Q1..4 in the bag but only got one right. Can anyone suggest from these results what I may have done wrong?
Code:
Q K Ein Eout
1 3 0.600000 0.700000
1 4 0.440000 0.300000
1 5 0.320000 0.500000
1 6 0.080000 0.200000
1 7 0.040000 0.000000
2 3 0.600000 0.648000
2 4 0.440000 0.420000
2 5 0.320000 0.416000
2 6 0.080000 0.188000
2 7 0.040000 0.084000
3 3 0.400000 0.440000
3 4 0.400000 0.280000
3 5 0.300000 0.360000
3 6 0.200000 0.200000
3 7 0.000000 0.080000
4 3 0.400000 0.500000
4 4 0.400000 0.396000
4 5 0.300000 0.388000
4 6 0.200000 0.284000
4 7 0.000000 0.192000