Cody

# Problem 1473. Legendre polynomials

Solution 3765333

Submitted on 21 Nov 2020 by Luis GONZALEZ
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Pass
user_solution = fileread('legendrePoly.m'); assert(isempty(strfind(user_solution,'regexp'))); assert(isempty(strfind(user_solution,'2str'))); assert(isempty(strfind(user_solution,'str2'))); assert(isempty(strfind(user_solution,'interp'))); assert(isempty(strfind(user_solution,'printf'))); assert(isempty(strfind(user_solution,'assert')));

2   Pass
n = 0; P_correct = [1]/1; assert(isequal(round(legendrePoly(n)*1),round(P_correct*1)));

3   Pass
n = 1; P_correct = [1 0]/1; assert(isequal(round(legendrePoly(n)*1),round(P_correct*1)));

4   Pass
n = 2; P_correct = [3 0 -1]/2; assert(isequal(round(legendrePoly(n)*2),round(P_correct*2)));

aux0 = 0 0 -1 aux1 = 3 0 0 P1 = 1.5000 0 -0.5000

5   Pass
n = 3; P_correct = [5 0 -3 0]/2; assert(isequal(round(legendrePoly(n)*2),round(P_correct*2)));

aux0 = 0 0 -1 aux1 = 3 0 0 P1 = 1.5000 0 -0.5000 aux0 = 0 0 -2 0 aux1 = 7.5000 0 -2.5000 0 P1 = 2.5000 0 -1.5000 0

6   Pass
n = 4; P_correct = [35 0 -30 0 3]/8; assert(isequal(round(legendrePoly(n)*8),round(P_correct*8)));

aux0 = 0 0 -1 aux1 = 3 0 0 P1 = 1.5000 0 -0.5000 aux0 = 0 0 -2 0 aux1 = 7.5000 0 -2.5000 0 P1 = 2.5000 0 -1.5000 0 aux0 = 0 0 -4.5000 0 1.5000 aux1 = 17.5000 0 -10.5000 0 0 P1 = 4.3750 0 -3.7500 0 0.3750

7   Pass
n = 5; P_correct = [63 0 -70 0 15 0]/8; assert(isequal(round(legendrePoly(n)*8),round(P_correct*8)));

aux0 = 0 0 -1 aux1 = 3 0 0 P1 = 1.5000 0 -0.5000 aux0 = 0 0 -2 0 aux1 = 7.5000 0 -2.5000 0 P1 = 2.5000 0 -1.5000 0 aux0 = 0 0 -4.5000 0 1.5000 aux1 = 17.5000 0 -10.5000 0 0 P1 = 4.3750 0 -3.7500 0 0.3750 aux0 = 0 0 -10 0 6 0 aux1 = 39.3750 0 -33.7500 0 3.3750 0 P1 = 7.8750 0 -8.7500 0 1.8750 0

8   Pass
n = 6; P_correct = [231 0 -315 0 105 0 -5]/16; assert(isequal(round(legendrePoly(n)*16),round(P_correct*16)));

aux0 = 0 0 -1 aux1 = 3 0 0 P1 = 1.5000 0 -0.5000 aux0 = 0 0 -2 0 aux1 = 7.5000 0 -2.5000 0 P1 = 2.5000 0 -1.5000 0 aux0 = 0 0 -4.5000 0 1.5000 aux1 = 17.5000 0 -10.5000 0 0 P1 = 4.3750 0 -3.7500 0 0.3750 aux0 = 0 0 -10 0 6 0 aux1 = 39.3750 0 -33.7500 0 3.3750 0 P1 = 7.8750 0 -8.7500 0 1.8750 0 aux0 = 0 0 -21.8750 0 18.7500 0 -1.8750 aux1 = 86.6250 0 -96.2500 0 20.6250 0 0 P1 = 14.4375 0 -19.6875 0 6.5625 0 -0.3125

9   Pass
n = 7; P_correct = [429 0 -693 0 315 0 -35 0]/16; assert(isequal(round(legendrePoly(n)*16),round(P_correct*16)));

aux0 = 0 0 -1 aux1 = 3 0 0 P1 = 1.5000 0 -0.5000 aux0 = 0 0 -2 0 aux1 = 7.5000 0 -2.5000 0 P1 = 2.5000 0 -1.5000 0 aux0 = 0 0 -4.5000 0 1.5000 aux1 = 17.5000 0 -10.5000 0 0 P1 = 4.3750 0 -3.7500 0 0.3750 aux0 = 0 0 -10 0 6 0 aux1 = 39.3750 0 -33.7500 0 3.3750 0 P1 = 7.8750 0 -8.7500 0 1.8750 0 aux0 = 0 0 -21.8750 0 18.7500 0 -1.8750 aux1 = 86.6250 0 -96.2500 0 20.6250 0 0 P1 = 14.4375 0 -19.6875 0 6.5625 0 -0.3125 aux0 = 0 0 -47.2500 0 52.5000 0 -11.2500 0 aux1 = 187.6875 0 -255.9375 0 85.3125 0 -4.0625 0 P1 = 26.8125 0 -43.3125 0 19.6875 0 -2.1875 0

10   Pass
n = 8; P_correct = [6435 0 -12012 0 6930 0 -1260 0 35]/128; assert(isequal(round(legendrePoly(n)*128),round(P_correct*128)));

aux0 = 0 0 -1 aux1 = 3 0 0 P1 = 1.5000 0 -0.5000 aux0 = 0 0 -2 0 aux1 = 7.5000 0 -2.5000 0 P1 = 2.5000 0 -1.5000 0 aux0 = 0 0 -4.5000 0 1.5000 aux1 = 17.5000 0 -10.5000 0 0 P1 = 4.3750 0 -3.7500 0 0.3750 aux0 = 0 0 -10 0 6 0 aux1 = 39.3750 0 -33.7500 0 3.3750 0 P1 = 7.8750 0 -8.7500 0 1.8750 0 aux0 = 0 0 -21.8750 0 18.7500 0 -1.8750 aux1 = 86.6250 0 -96.2500 0 20.6250 0 0 P1 = 14.4375 0 -19.6875 0 6.5625 0 -0.3125 aux0 = 0 0 -47.2500 0 52.5000 0 -11.2500 0 aux1 = 187.6875 0 -255.9375 0 85.3125 0 -4.0625 0 P1 = 26.8125 0 -43.3125 0 19.6875 0 -2.1875 0 aux0 = 0 0 -101.0625 0 137.8125 0 -45.9375 0 2.1875 aux1 = 402.1875 0 -649.6875 0 295.3125 0 -32.8125 0 0 P1 = 50.2734 0 -93.8438 0 54.1406 0 -9.8438 0 0.2734

11   Pass
n = 9; P_correct = [12155 0 -25740 0 18018 0 -4620 0 315 0]/128; assert(isequal(round(legendrePoly(n)*128),round(P_correct*128)));

aux0 = 0 0 -1 aux1 = 3 0 0 P1 = 1.5000 0 -0.5000 aux0 = 0 0 -2 0 aux1 = 7.5000 0 -2.5000 0 P1 = 2.5000 0 -1.5000 0 aux0 = 0 0 -4.5000 0 1.5000 aux1 = 17.5000 0 -10.5000 0 0 P1 = 4.3750 0 -3.7500 0 0.3750 aux0 = 0 0 -10 0 6 0 aux1 = 39.3750 0 -33.7500 0 3.3750 0 P1 = 7.8750 0 -8.7500 0 1.8750 0 aux0 = 0 0 -21.8750 0 18.7500 0 -1.8750 aux1 = 86.6250 0 -96.2500 0 20.6250 0 0 P1 = 14.4375 0 -19.6875 0 6.5625 0 -0.3125 aux0 = 0 0 -47.2500 0 52.5000 0 -11.2500 0 aux1 = 187.6875 0 -255.9375 0 85.3125 0 -4.0625 0 P1 = 26.8125 0 -43.3125 0 19.6875 0 -2.1875 0 aux0 = 0 0 -101.0625 0 137.8125 0 -45.9375 0 2.1875 aux1 = 402.1875 0 -649.6875 0 295.3125 0 -32.8125 0 0 P1 = 50.2734 0 -93.8438 0 54.1406 0 -9.8438 0 0.2734 aux0 = 0 0 -214.5000 0 346.5000 0 -157.5000 0 17.5000 0 aux1 = 1.0e+03 * 0.8546 0 -1.5953 0 0.9204 0 -0.1673 0 0.0046 0 P1 = 94.9609 0 -201.0938 0 140.7656 0 -36.0938 0 2.4609 0

12   Pass
n = 10; P_correct = [46189 0 -109395 0 90090 0 -30030 0 3465 0 -63]/256; assert(isequal(round(legendrePoly(n)*256),round(P_correct*256)));

aux0 = 0 0 -1 aux1 = 3 0 0 P1 = 1.5000 0 -0.5000 aux0 = 0 0 -2 0 aux1 = 7.5000 0 -2.5000 0 P1 = 2.5000 0 -1.5000 0 aux0 = 0 0 -4.5000 0 1.5000 aux1 = 17.5000 0 -10.5000 0 0 P1 = 4.3750 0 -3.7500 0 0.3750 aux0 = 0 0 -10 0 6 0 aux1 = 39.3750 0 -33.7500 0 3.3750 0 P1 = 7.8750 0 -8.7500 0 1.8750 0 aux0 = 0 0 -21.8750 0 18.7500 0 -1.8750 aux1 = 86.6250 0 -96.2500 0 20.6250 0 0 P1 = 14.4375 0 -19.6875 0 6.5625 0 -0.3125 aux0 = 0 0 -47.2500 0 52.5000 0 -11.2500 0 aux1 = 187.6875 0 -255.9375 0 85.3125 0 -4.0625 0 P1 = 26.8125 0 -43.3125 0 19.6875 0 -2.1875 0 aux0 = 0 0 -101.0625 0 137.8125 0 -45.9375 0 2.1875 aux1 = 402.1875 0 -649.6875 0 295.3125 0 -32.8125 0 0 P1 = 50.2734 0 -93.8438 0 54.1406 0 -9.8438 0 0.2734 aux0 = 0 0 -214.5000 0 346.5000 0 -157.5000 0 17.5000 0 aux1 = 1.0e+03 * 0.8546 0 -1.5953 0 0.9204 0 -0.1673 0 0.0046 0 P1 = 94.9609 0 -201.0938 0 140.7656 0 -36.0938 0 2.4609 0 aux0 = 0 0 -452.4609 0 844.5938 0 -487.2656 0 88.5938 0 -2.4609 aux1 = 1.0e+03 * 1.8043 0 -3.8208 0 2.6745 0 -0.6858 0 0.0468 0 0 P1 = 180.4258 0 -427.3242 0 351.9141 0 -117.3047 0 13.5352 0 -0.2461

13   Pass
n = 11; P_correct = [88179 0 -230945 0 218790 0 -90090 0 15015 0 -693 0]/256; assert(isequal(round(legendrePoly(n)*256),round(P_correct*256)));

aux0 = 0 0 -1 aux1 = 3 0 0 P1 = 1.5000 0 -0.5000 aux0 = 0 0 -2 0 aux1 = 7.5000 0 -2.5000 0 P1 = 2.5000 0 -1.5000 0 aux0 = 0 0 -4.5000 0 1.5000 aux1 = 17.5000 0 -10.5000 0 0 P1 = 4.3750 0 -3.7500 0 0.3750 aux0 = 0 0 -10 0 6 0 aux1 = 39.3750 0 -33.7500 0 3.3750 0 P1 = 7.8750 0 -8.7500 0 1.8750 0 aux0 = 0 0 -21.8750 0 18.7500 0 -1.8750 aux1 = 86.6250 0 -96.2500 0 20.6250 0 0 P1 = 14.4375 0 -19.6875 0 6.5625 0 -0.3125 aux0 = 0 0 -47.2500 0 52.5000 0 -11.2500 0 aux1 = 187.6875 0 -255.9375 0 85.3125 0 -4.0625 0 P1 = 26.8125 0 -43.3125 0 19.6875 0 -2.1875 0 aux0 = 0 0 -101.0625 0 137.8125 0 -45.9375 0 2.1875 aux1 = 402.1875 0 -649.6875 0 295.3125 0 -32.8125 0 0 P1 = 50.2734 0 -93.8438 0 54.1406 0 -9.8438 0 0.2734 aux0 = 0 0 -214.5000 0 346.5000 0 -157.5000 0 17.5000 0 aux1 = 1.0e+03 * 0.8546 0 -1.5953 0 0.9204 0 -0.1673 0 0.0046 0 P1 = 94.9609 0 -201.0938 0 140.7656 0 -36.0938 0 2.4609 0 aux0 = 0 0 -452.4609 0 844.5938 0 -487.2656 0 88.5938 0 -2.4609 aux1 = 1.0e+03 * 1.8043 0 -3.8208 0 2.6745 0 -0.6858 0 0.0468 0 0 P1 = 180.4258 0 -427.3242 0 351.9141 0 -117.3047 0 13.5352 0 -0.2461 aux0 = 1.0e+03 * 0 0 -0.9496 0 2.0109 0 -1.4077 0 0.3609 0 -0.0246 0 aux1 = 1.0e+03 * 3.7889 0 -8.9738 0 7.3902 0 -2.4634 0 0.2842 0 -0.0052 0 P1 = 344.4492 0 -902.1289 0 854.6484 0 -351.9141 0 58.6523 0 -2.7070 0

14   Pass
n = 12; P_correct = [676039 0 -1939938 0 2078505 0 -1021020 0 225225 0 -18018 0 231]/1024; assert(isequal(round(legendrePoly(n)*1024),round(P_correct*1024)));

aux0 = 0 0 -1 aux1 = 3 0 0 P1 = 1.5000 0 -0.5000 aux0 = 0 0 -2 0 aux1 = 7.5000 0 -2.5000 0 P1 = 2.5000 0 -1.5000 0 aux0 = 0 0 -4.5000 0 1.5000 aux1 = 17.5000 0 -10.5000 0 0 P1 = 4.3750 0 -3.7500 0 0.3750 aux0 = 0 0 -10 0 6 0 aux1 = 39.3750 0 -33.7500 0 3.3750 0 P1 = 7.8750 0 -8.7500 0 1.8750 0 aux0 = 0 0 -21.8750 0 18.7500 0 -1.8750 aux1 = 86.6250 0 -96.2500 0 20.6250 0 0 P1 = 14.4375 0 -19.6875 0 6.5625 0 -0.3125 aux0 = 0 0 -47.2500 0 52.5000 0 -11.2500 0 aux1 = 187.6875 0 -255.9375 0 85.3125 0 -4.0625 0 P1 = 26.8125 0 -43.3125 0 19.6875 0 -2.1875 0 aux0 = 0 0 -101.0625 0 137.8125 0 -45.9375 0 2.1875 aux1 = 402.1875 0 -649.6875 0 295.3125 0 -32.8125 0 0 P1 = 50.2734 0 -93.8438 0 54.1406 0 -9.8438 0 0.2734 aux0 = 0 0 -214.5000 0 346.5000 0 -157.5000 0 17.5000 0 aux1 = 1.0e+03 * 0.8546 0 -1.5953 0 0.9204 0 -0.1673 0 0.0046 0 P1 = 94.9609 0 -201.0938 0 140.7656 0 -36.0938 0 2.4609 0 aux0 = 0 0 -452.4609 0 844.5938 0 -487.2656 0 88.5938 0 -2.4609 aux1 = 1.0e+03 * 1.8043 0 -3.8208 0 2.6745 0 -0.6858 0 0.0468 0 0 P1 = 180.4258 0 -427.3242 0 351.9141 0 -117.3047 0 13.5352 0 -0.2461 aux0 = 1.0e+03 * 0 0 -0.9496 0 2.0109 0 -1.4077 0 0.3609 0 -0.0246 0 aux1 = 1.0e+03 * 3.7889 0 -8.9738 0 7.3902 0 -2.4634 0 0.2842 0 -0.0052 0 P1 = 344.4492 0 -902.1289 0 854.6484 0 -351.9141 0 58.6523 0 -2.7070 0 aux0 = 1.0e+03 * 0 0 -1.9847 0 4.7006 0 -3.8711 0 1.2904 0 -0.1489 0 0.0027 aux1 = 1.0e+04 * 0.7922 0 -2.0749 0 1.9657 0 -0.8094 0 0.1349 0 -0.0062 0 0 P1 = 1.0e+03 * 0.6602 0 -1.8945 0 2.0298 0 -0.9971 0 0.2199 0 -0.0176 0 0.0002

15   Pass
n = 13; P_correct = [1300075 0 -4056234 0 4849845 0 -2771340 0 765765 0 -90090 0 3003 0]/1024; assert(isequal(round(legendrePoly(n)*1024),round(P_correct*1024)));

aux0 = 0 0 -1 aux1 = 3 0 0 P1 = 1.5000 0 -0.5000 aux0 = 0 0 -2 0 aux1 = 7.5000 0 -2.5000 0 P1 = 2.5000 0 -1.5000 0 aux0 = 0 0 -4.5000 0 1.5000 aux1 = 17.5000 0 -10.5000 0 0 P1 = 4.3750 0 -3.7500 0 0.3750 aux0 = 0 0 -10 0 6 0 aux1 = 39.3750 0 -33.7500 0 3.3750 0 P1 = 7.8750 0 -8.7500 0 1.8750 0 aux0 = 0 0 -21.8750 0 18.7500 0 -1.8750 aux1 = 86.6250 0 -96.2500 0 20.6250 0 0 P1 = 14.4375 0 -19.6875 0 6.5625 0 -0.3125 aux0 = 0 0 -47.2500 0 52.5000 0 -11.2500 0 aux1 = 187.6875 0 -255.9375 0 85.3125 0 -4.0625 0 P1 = 26.8125 0 -43.3125 0 19.6875 0 -2.1875 0 aux0 = 0 0 -101.0625 0 137.8125 0 -45.9375 0 2.1875 aux1 = 402.1875 0 -649.6875 0 295.3125 0 -32.8125 0 0 P1 = 50.2734 0 -93.8438 0 54.1406 0 -9.8438 0 0.2734 aux0 = 0 0 -214.5000 0 346.5000 0 -157.5000 0 17.5000 0 aux1 = 1.0e+03 * 0.8546 0 -1.5953 0 0.9204 0 -0.1673 0 0.0046 0 P1 = 94.9609 0 -201.0938 0 140.7656 0 -36.0938 0 2.4609 0 aux0 = 0 0 -452.4609 0 844.5938 0 -487.2656 0 88.5938 0 -2.4609 aux1 = 1.0e+03 * 1.8043 0 -3.8208 0 2.6745 0 -0.6858 0 0.0468 0 0 P1 = 180.4258 0 -427.3242 0 351.9141 0 -117.3047 0 13.5352 0 -0.2461 aux0 = 1.0e+03 * 0 0 -0.9496 0 2.0109 0 -1.4077 0 0.3609 0 -0.0246 0 aux1 = 1.0e+03 * 3.7889 0 -8.9738 0 7.3902 0 -2.4634 0 0.2842 0 -0.0052 0 P1 = 344.4492 0 -902.1289 0 854.6484 0 -351.9141 0 58.6523 0 -2.7070 0 aux0 = 1.0e+03 * 0 0 -1.9847 0 4.7006 0 -3.8711 0 1.2904 0 -0.1489 0 0.0027 aux1 = 1.0e+04 * 0.7922 0 -2.0749 0 1.9657 0 -0.8094 0 0.1349 0 -0.0062 0 0 P1 = 1.0e+03 * 0.6602 0 -1.8945 0 2.0298 0 -0.9971 0 0.2199 0 -0.0176 0 0.0002 aux0 = 1.0e+04 * 0 0 -0.4133 0 1.0826 0 -1.0256 0 0.4223 0 -0.0704 0 0.0032 0 aux1 = 1.0e+04 * 1.6505 0 -4.7362 0 5.0745 0 -2.4927 0 0.5499 0 -0.0440 0 0.0006 0 P1 = 1.0e+03 * 1.2696 0 -3.9612 0 4.7362 0 -2.7064 0 0.7478 0 -0.0880 0 0.0029 0

16   Pass
n = 14; P_correct = [5014575 0 -16900975 0 22309287 0 -14549535 0 4849845 0 -765765 0 45045 0 -429]/2048; assert(isequal(round(legendrePoly(n)*2048),round(P_correct*2048)));

aux0 = 0 0 -1 aux1 = 3 0 0 P1 = 1.5000 0 -0.5000 aux0 = 0 0 -2 0 aux1 = 7.5000 0 -2.5000 0 P1 = 2.5000 0 -1.5000 0 aux0 = 0 0 -4.5000 0 1.5000 aux1 = 17.5000 0 -10.5000 0 0 P1 = 4.3750 0 -3.7500 0 0.3750 aux0 = 0 0 -10 0 6 0 aux1 = 39.3750 0 -33.7500 0 3.3750 0 P1 = 7.8750 0 -8.7500 0 1.8750 0 aux0 = 0 0 -21.8750 0 18.7500 0 -1.8750 aux1 = 86.6250 0 -96.2500 0 20.6250 0 0 P1 = 14.4375 0 -19.6875 0 6.5625 0 -0.3125 aux0 = 0 0 -47.2500 0 52.5000 0 -11.2500 0 aux1 = 187.6875 0 -255.9375 0 85.3125 0 -4.0625 0 P1 = 26.8125 0 -43.3125 0 19.6875 0 -2.1875 0 aux0 = 0 0 -101.0625 0 137.8125 0 -45.9375 0 2.1875 aux1 = 402.1875 0 -649.6875 0 295.3125 0 -32.8125 0 0 P1 = 50.2734 0 -93.8438 0 54.1406 0 -9.8438 0 0.2734 aux0 = 0 0 -214.5000 0 346.5000 0 -157.5000 0 17.5000 0 aux1 = 1.0e+03 * 0.8546 0 -1.5953 0 0.9204 0 -0.1673 0 0.0046 0 P1 = 94.9609 0 -201.0938 0 140.7656 0 -36.0938 0 2.4609 0 aux0 = 0 0 -452.4609 0 844.5938 0 -487.2656 0 88.5938 0 -2.4609 aux1 = 1.0e+03 * 1.8043 0 -3.8208 0 2.6745 0 -0.6858 0 0.0468 0 0 P1 = 180.4258 0 -427.3242 0 351.9141 0 -117.3047 0 13.5352 0 -0.2461 aux0 = 1.0e+03 * 0 0 -0.9496 0 2.0109 0 -1.4077 0 0.3609 0 -0.0246 0 aux1 = 1.0e+03 * 3.7889 0 -8.9738 0 7.3902 0 -2.4634 0 0.2842 0 -0.0052 0 P1 = 344.4492 0 -902.1289 0 854.6484 0 -351.9141 0 58.6523 0 -2.7070 0 aux0 = 1.0e+03 * 0 0 -1.9847 0 4.7006 0 -3.8711 0 1.2904 0 -0.1489 0 0.0027 aux1 = 1.0e+04 * 0.7922 0 -2.0749 0 1.9657 0 -0.8094 0 0.1349 0 -0.0062 0 0 P1 = 1.0e+03 * 0.6602 0 -1.8945 0 2.0298 0 -0.9971 0 0.2199 0 -0.0176 0 0.0002 aux0 = 1.0e+04 * 0 0 -0.4133 0 1.0826 0 -1.0256 0 0.4223 0 -0.0704 0 0.0032 0 aux1 = 1.0e+04 * 1.6505 0 -4.7362 0 5.0745 0 -2.4927 0 0.5499 0 -0.0440 0 0.0006 0 P1 = 1.0e+03 * 1.2696 0 -3.9612 0 4.7362 0 -2.7064 0 0.7478 0 -0.0880 0 0.0029 0 aux0 = 1.0e+04 * 0 0 -0.8583 0 2.4628 0 -2.6387 0 1.2962 0 -0.2859 0 0.0229 0 -0.0003 aux1 = 1.0e+05 * 0.3428 0 -1.0695 0 1.2788 0 -0.7307 0 0.2019 0 -0.0238 0 0.0008 0 0 P1 = 1.0e+04 * 0.2449 0 -0.8252 0 1.0893 0 -0.7104 0 0.2368 0 -0.0374 0 0.0022 0 -0.0000

17   Pass
n = 15; P_correct = [9694845 0 -35102025 0 50702925 0 -37182145 0 14549535 0 -2909907 0 255255 0 -6435 0]/2048; assert(isequal(round(legendrePoly(n)*2048),round(P_correct*2048)));

aux0 = 0 0 -1 aux1 = 3 0 0 P1 = 1.5000 0 -0.5000 aux0 = 0 0 -2 0 aux1 = 7.5000 0 -2.5000 0 P1 = 2.5000 0 -1.5000 0 aux0 = 0 0 -4.5000 0 1.5000 aux1 = 17.5000 0 -10.5000 0 0 P1 = 4.3750 0 -3.7500 0 0.3750 aux0 = 0 0 -10 0 6 0 aux1 = 39.3750 0 -33.7500 0 3.3750 0 P1 = 7.8750 0 -8.7500 0 1.8750 0 aux0 = 0 0 -21.8750 0 18.7500 0 -1.8750 aux1 = 86.6250 0 -96.2500 0 20.6250 0 0 P1 = 14.4375 0 -19.6875 0 6.5625 0 -0.3125 aux0 = 0 0 -47.2500 0 52.5000 0 -11.2500 0 aux1 = 187.6875 0 -255.9375 0 85.3125 0 -4.0625 0 P1 = 26.8125 0 -43.3125 0 19.6875 0 -2.1875 0 aux0 = 0 0 -101.0625 0 137.8125 0 -45.9375 0 2.1875 aux1 = 402.1875 0 -649.6875 0 295.3125 0 -32.8125 0 0 P1 = 50.2734 0 -93.8438 0 54.1406 0 -9.8438 0 0.2734 aux0 = 0 0 -214.5000 0 346.5000 0 -157.5000 0 17.5000 0 aux1 = 1.0e+03 * 0.8546 0 -1.5953 0 0.9204 0 -0.1673 0 0.0046 0 P1 = 94.9609 0 -201.0938 0 140.7656 0 -36.0938 0 2.4609 0 aux0 = 0 0 -452.4609 0 844.5938 0 -487.2656 0 88.5938 0 -2.4609 aux1 = 1.0e+03 * 1.8043 0 -3.8208 0 2.6745 0 -0.6858 0 0.0468 0 0 P1 = 180.4258 0 -427.3242 0 351.9141 0 -117.3047 0 13.5352 0 -0.2461 aux0 = 1.0e+03 * 0 0 -0.9496 0 2.0109 0 -1.4077 0 0.3609 0 -0.0246 0 aux1 = 1.0e+03 * 3.7889 0 -8.9738 0 7.3902 0 -2.4634 0 0.2842 0 -0.0052 0 P1 = 344.4492 0 -902.1289 0 854.6484 0 -351.9141 0 58.6523 0 -2.7070 0 aux0 = 1.0e+03 * 0 0 -1.9847 0 4.7006 0 -3.8711 0 1.2904 0 -0.1489 0 0.0027 aux1 = 1.0e+04 * 0.7922 0 -2.0749 0 1.9657 0 -0.8094 0 0.1349 0 -0.0062 0 0 P1 = 1.0e+03 * 0.6602 0 -1.8945 0 2.0298 0 -0.9971 0 0.2199 0 -0.0176 0 0.0002 aux0 = 1.0e+04 * 0 0 -0.4133 0 1.0826 0 -1.0256 0 0.4223 0 -0.0704 0 0.0032 0 aux1 = 1.0e+04 * 1.6505 0 -4.7362 0 5.0745 0 -2.4927 0 0.5499 0 -0.0440 0 0.0006 0 P1 = 1.0e+03 * 1.2696 0 -3.9612 0 4.7362 0 -2.7064 0 0.7478 0 -0.0880 0 0.0029 0 aux0 = 1.0e+04 * 0 0 -0.8583 0 2.4628 0 -2.6387 0 1.2962 0 -0.2859 0 0.0229 0 -0.0003 aux1 = 1.0e+05 * 0.3428 0 -1.0695 0 1.2788 0 -0.7307 0 0.2019 0 -0.0238 0 0.0008 0 0 P1 = 1.0e+04 * 0.2449 0 -0.8252 0 1.0893 0 -0.7104 0 0.2368 0 -0.0374 0 0.0022 0 -0.0000 aux0 = 1.0e+04 * 0 0 -1.7774 0 5.5456 0 -6.6306 0 3.7889 0 -1.0469 0 0.1232 0 -0.0041 0 aux1 = 1.0e+05 * 0.7101 0 -2.3932 0 3.1590 0 -2.0602 0 0.6867 0 -0.1084 0 0.0064 0 -0.0001 0 P1 = 1.0e+04 * 0.4734 0 -1.7140 0 2.4757 0 -1.8155 0 0.7104 0 -0.1421 0 0.0125 0 -0.0003 0

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!