Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Solution 319885

Submitted on 16 Sep 2013 by James

Correct

19Size
Leading solution size is 19.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test
Code Input and Output
1
Pass
 
%%
tic
vd=[249 6326 ];
exp=44.5948575;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
2
Pass
 
%%
vd=[77 41 ];
exp=1.9429163;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
3
Pass
 
%%
vd=[28 11 ];
exp=3.9516039;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
4
Pass
 
%%
vd=[105 21 ];
exp=0.5347917;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
5
Pass
 
%%
vd=[147 51 ];
exp=0.6626633;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
6
Pass
 
%%
vd=[300 3210 ];
exp=10.2293872;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
7
Pass
 
%%
vd=[219 61 ];
exp=0.3570850;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
8
Pass
 
%%
vd=[240 41 ];
exp=0.1998405;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
9
Pass
 
%%
vd=[179 3269 ];
exp=44.5041154;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
10
Pass
 
%%
vd=[300 3480 ];
exp=11.1338133;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
11
Pass
 
%%
vd=[102 81 ];
exp=2.1878908;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
12
Pass
 
%%
vd=[121 51 ];
exp=0.9781434;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
13
Pass
 
%%
vd=[138 31 ];
exp=0.4570257;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
14
Pass
 
%%
vd=[210 4500 ];
exp=45.0000000;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
15
Pass
 
%%
vd=[192 3761 ];
exp=44.4745779;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
16
Pass
 
%%
vd=[37 41 ];
exp=8.5337735;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
17
Pass
 
%%
vd=[32 41 ];
exp=11.5514232;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
18
Pass
 
%%
vd=[199 81 ];
exp=0.5742839;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
19
Pass
 
%%
vd=[300 3360 ];
exp=10.7304643;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
20
Pass
 
%%
vd=[233 71 ];
exp=0.3671784;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
21
Pass
 
%%
vd=[266 81 ];
exp=0.3214027;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
22
Pass
 
%%
vd=[27 21 ];
exp=8.1988972;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
23
Pass
 
%%
vd=[279 21 ];
exp=0.0757408;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
24
Pass
 
%%
vd=[300 5230 ];
exp=17.3572961;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
25
Pass
 
%%
vd=[279 51 ];
exp=0.1839431;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
26
Pass
 
%%
vd=[218 21 ];
exp=0.1240585;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
27
Pass
 
%%
vd=[300 7690 ];
exp=28.4309587;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
28
Pass
 
%%
vd=[89 31 ];
exp=1.0990234;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
29
Pass
 
%%
vd=[141 2028 ];
exp=44.2618026;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
30
Pass
 
%%
vd=[178 81 ];
exp=0.7178094;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
31
Pass
 
%%
vd=[132 71 ];
exp=1.1443126;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
32
Pass
 
%%
vd=[300 690 ];
exp=2.1544417;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
33
Pass
 
%%
vd=[300 6970 ];
exp=24.6861041;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
34
Pass
 
%%
vd=[41 1 ];
exp=0.1670142;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
35
Pass
 
%%
vd=[123 21 ];
exp=0.3897097;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
36
Pass
 
%%
vd=[48 61 ];
exp=7.5190650;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
37
Pass
 
%%
vd=[77 81 ];
exp=3.8470546;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
38
Pass
 
%%
vd=[152 71 ];
exp=0.8628902;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
39
Pass
 
%%
vd=[267 11 ];
exp=0.0433201;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
40
Pass
 
%%
vd=[164 21 ];
exp=0.2192071;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
41
Pass
 
%%
vd=[300 4310 ];
exp=13.9947943;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
42
Pass
 
%%
vd=[256 71 ];
exp=0.3041622;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
43
Pass
 
%%
vd=[192 41 ];
exp=0.3122545;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
44
Pass
 
%%
vd=[300 7110 ];
exp=25.3662790;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
45
Pass
 
%%
vd=[98 31 ];
exp=0.9063600;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
46
Pass
 
%%
vd=[286 21 ];
exp=0.0720786;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
47
Pass
 
%%
vd=[44 91 ];
exp=13.7142226;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
48
Pass
 
%%
vd=[300 8360 ];
exp=32.7741901;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
49
Pass
 
%%
vd=[300 5060 ];
exp=16.7170592;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
50
Pass
 
%%
vd=[194 81 ];
exp=0.6042720;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
51
Pass
 
%%
vd=[96 61 ];
exp=1.8595639;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
52
Pass
 
%%
vd=[190 1 ];
exp=0.0077770;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
53
Pass
 
%%
vd=[237 51 ];
exp=0.2549165;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
54
Pass
 
%%
vd=[52 31 ];
exp=3.2254600;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
55
Pass
 
%%
vd=[250 71 ];
exp=0.3189378;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
56
Pass
 
%%
vd=[29 61 ];
exp=22.6508544;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
57
Pass
 
%%
vd=[300 4030 ];
exp=13.0143792;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
58
Pass
 
%%
vd=[39 31 ];
exp=5.7607904;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
59
Pass
 
%%
vd=[62 61 ];
exp=4.4733355;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
60
Pass
 
%%
vd=[246 61 ];
exp=0.2829993;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
61
Pass
 
%%
vd=[86 51 ];
exp=1.9374169;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
62
Pass
 
%%
vd=[252 91 ];
exp=0.4023216;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
63
Pass
 
%%
vd=[275 11 ];
exp=0.0408363;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
64
Pass
 
%%
vd=[49 81 ];
exp=9.6529702;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
65
Pass
 
%%
vd=[127 11 ];
exp=0.1914728;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
66
Pass
 
%%
vd=[223 61 ];
exp=0.3443890;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
67
Pass
 
%%
vd=[160 21 ];
exp=0.2303047;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
68
Pass
 
%%
vd=[196 31 ];
exp=0.2265546;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
69
Pass
 
%%
vd=[55 91 ];
exp=8.5730698;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
70
Pass
 
%%
vd=[110 1234 ];
exp=44.0395169;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
71
Pass
 
%%
vd=[274 61 ];
exp=0.2281140;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
72
Pass
 
%%
vd=[300 6800 ];
exp=23.8846446;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
73
Pass
 
%%
vd=[300 3310 ];
exp=10.5630642;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
74
Pass
 
%%
vd=[44 31 ];
exp=4.5141266;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
75
Pass
 
%%
vd=[295 1 ];
exp=0.0032261;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
76
Pass
 
%%
vd=[64 11 ];
exp=0.7540525;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
77
Pass
 
%%
vd=[240 21 ];
exp=0.1023567;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
78
Pass
 
%%
vd=[91 21 ];
exp=0.7120327;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
79
Pass
 
%%
vd=[300 1870 ];
exp=5.8744286;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
80
Pass
 
%%
vd=[300 1730 ];
exp=5.4290641;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
81
Pass
 
%%
vd=[259 51 ];
exp=0.2134486;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
82
Pass
 
%%
vd=[51 91 ];
exp=10.0258563;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
83
Pass
 
%%
vd=[300 4200 ];
exp=13.6075829;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
84
Pass
 
%%
vd=[262 81 ];
exp=0.3312919;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
85
Pass
 
%%
vd=[74 81 ];
exp=4.1674764;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
86
Pass
 
%%
vd=[88 81 ];
exp=2.9417237;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
87
Pass
 
%%
vd=[255 91 ];
exp=0.3929103;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
88
Pass
 
%%
vd=[72 41 ];
exp=2.2226617;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
89
Pass
 
%%
vd=[300 7900 ];
exp=29.6707716;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
90
Pass
 
%%
vd=[300 1620 ];
exp=5.0800699;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
91
Pass
 
%%
vd=[253 71 ];
exp=0.3114186;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
92
Pass
 
%%
vd=[265 91 ];
exp=0.3638145;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
93
Pass
 
%%
vd=[248 1 ];
exp=0.0045647;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
94
Pass
 
%%
vd=[300 6090 ];
exp=20.7696393;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
95
Pass
 
%%
vd=[158 71 ];
exp=0.7985813;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
96
Pass
 
%%
vd=[300 2170 ];
exp=6.8338053;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
97
Pass
 
%%
vd=[300 1500 ];
exp=4.7002140;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
98
Pass
 
%%
vd=[163 31 ];
exp=0.3275780;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
99
Pass
 
%%
vd=[139 31 ];
exp=0.4504729;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
100
Pass
 
%%
vd=[271 21 ];
exp=0.0802786;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
101
Pass
 
%%
vd=[113 41 ];
exp=0.9016072;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
102
Pass
 
%%
vd=[156 81 ];
exp=0.9346125;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
103
Pass
 
%%
vd=[100 61 ];
exp=1.7135925;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
104
Pass
 
%%
vd=[85 91 ];
exp=3.5451226;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
105
Pass
 
%%
vd=[43 61 ];
exp=9.4316060;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
106
Pass
 
%%
vd=[57 61 ];
exp=5.3012744;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
107
Pass
 
%%
vd=[136 61 ];
exp=0.9260755;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
108
Pass
 
%%
vd=[300 5200 ];
exp=17.2436039;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
109
Pass
 
%%
vd=[159 71 ];
exp=0.7885653;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
110
Pass
 
%%
vd=[86 61 ];
exp=2.3180653;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
111
Pass
 
%%
vd=[300 8140 ];
exp=31.2094004;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
112
Pass
 
%%
vd=[300 5190 ];
exp=17.2057754;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
113
Pass
 
%%
vd=[259 6845 ];
exp=45.0000000;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
114
Pass
 
%%
vd=[300 6570 ];
exp=22.8379951;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
115
Pass
 
%%
vd=[285 71 ];
exp=0.2454102;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
116
Pass
 
%%
vd=[300 6460 ];
exp=22.3511092;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
117
Pass
 
%%
vd=[75 573 ];
exp=43.3260450;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
118
Pass
 
%%
vd=[46 41 ];
exp=5.4730826;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
119
Pass
 
%%
vd=[52 21 ];
exp=2.1824862;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
120
Pass
 
%%
vd=[300 5950 ];
exp=20.1913108;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
121
Pass
 
%%
vd=[68 91 ];
exp=5.5599659;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
122
Pass
 
%%
vd=[64 21 ];
exp=1.4399949;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
123
Pass
 
%%
vd=[36 11 ];
exp=2.3856596;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
124
Pass
 
%%
vd=[134 21 ];
exp=0.3283507;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
125
Pass
 
%%
vd=[9 1 ];
exp=3.4745532;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
126
Pass
 
%%
vd=[143 31 ];
exp=0.4256222;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
127
Pass
 
%%
vd=[116 91 ];
exp=1.9000393;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
128
Pass
 
%%
vd=[23 41 ];
exp=24.7121091;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
129
Pass
 
%%
vd=[300 8390 ];
exp=33.0022766;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
130
Pass
 
%%
vd=[200 51 ];
exp=0.3579647;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
131
Pass
 
%%
vd=[66 91 ];
exp=5.9068209;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
132
Pass
 
%%
vd=[203 21 ];
exp=0.1430697;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
133
Pass
 
%%
vd=[300 230 ];
exp=0.7175455;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
134
Pass
 
%%
vd=[300 7250 ];
exp=26.0668121;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
135
Pass
 
%%
vd=[81 71 ];
exp=3.0438586;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
136
Pass
 
%%
vd=[184 91 ];
exp=0.7547006;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
137
Pass
 
%%
vd=[273 41 ];
exp=0.1544470;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
138
Pass
 
%%
vd=[224 91 ];
exp=0.5091983;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
139
Pass
 
%%
vd=[25 1 ];
exp=0.4492173;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
140
Pass
 
%%
vd=[243 51 ];
exp=0.2424831;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
141
Pass
 
%%
vd=[300 4920 ];
exp=16.1968290;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
142
Pass
 
%%
vd=[300 840 ];
exp=2.6239945;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
143
Pass
 
%%
vd=[300 2740 ];
exp=8.6794304;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
144
Pass
 
%%
vd=[49 91 ];
exp=10.9018740;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
145
Pass
 
%%
vd=[244 81 ];
exp=0.3819768;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
146
Pass
 
%%
vd=[197 31 ];
exp=0.2242603;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
147
Pass
 
%%
vd=[186 31 ];
exp=0.2515707;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
148
Pass
 
%%
vd=[278 71 ];
exp=0.2579249;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
149
Pass
 
%%
vd=[258 1 ];
exp=0.0042177;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
150
Pass
 
%%
vd=[300 2990 ];
exp=9.5002916;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
151
Pass
 
%%
vd=[10 1 ];
exp=2.8120066;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
152
Pass
 
%%
vd=[300 7390 ];
exp=26.7901102;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
153
Pass
 
%%
vd=[300 430 ];
exp=1.3418485;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
154
Pass
 
%%
vd=[46 215 ];
exp=42.3568299;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
155
Pass
 
%%
vd=[300 6250 ];
exp=21.4435357;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
156
Pass
 
%%
vd=[109 1 ];
exp=0.0236301;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
157
Pass
 
%%
vd=[152 31 ];
exp=0.3767088;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
158
Pass
 
%%
vd=[290 41 ];
exp=0.1368700;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
159
Pass
 
%%
vd=[277 21 ];
exp=0.0768385;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
160
Pass
 
%%
vd=[136 81 ];
exp=1.2298703;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
161
Pass
 
%%
vd=[300 910 ];
exp=2.8433535;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
162
Pass
 
%%
vd=[224 21 ];
exp=0.1175014;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
163
Pass
 
%%
vd=[300 2440 ];
exp=7.7039453;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
164
Pass
 
%%
vd=[119 71 ];
exp=1.4081796;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
165
Pass
 
%%
vd=[20 31 ];
exp=24.7100694;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
166
Pass
 
%%
vd=[300 5120 ];
exp=16.9419243;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
167
Pass
 
%%
vd=[300 1940 ];
exp=6.0976449;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
168
Pass
 
%%
vd=[119 1445 ];
exp=45.0000000;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
169
Pass
 
%%
vd=[255 6635 ];
exp=44.7753101;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
170
Pass
 
%%
vd=[300 280 ];
exp=0.8735777;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
171
Pass
 
%%
vd=[219 41 ];
exp=0.2400045;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
172
Pass
 
%%
vd=[262 61 ];
exp=0.2494890;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
173
Pass
 
%%
vd=[300 970 ];
exp=3.0315083;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
174
Pass
 
%%
vd=[300 7720 ];
exp=28.6029416;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
175
Pass
 
%%
vd=[189 31 ];
exp=0.2436475;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
176
Pass
 
%%
vd=[110 51 ];
exp=1.1836603;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
177
Pass
 
%%
vd=[298 61 ];
exp=0.1928498;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
178
Pass
 
%%
vd=[231 5445 ];
exp=44.9999996;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
179
Pass
 
%%
vd=[69 81 ];
exp=4.7988649;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
180
Pass
 
%%
vd=[107 11 ];
exp=0.2697430;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
181
Pass
 
%%
vd=[114 21 ];
exp=0.4536767;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
182
Pass
 
%%
vd=[47 225 ];
exp=43.2757298;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
183
Pass
 
%%
vd=[17 1 ];
exp=0.9716372;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
184
Pass
 
%%
vd=[130 81 ];
exp=1.3460985;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
185
Pass
 
%%
vd=[300 4630 ];
exp=15.1376561;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
186
Pass
 
%%
vd=[121 91 ];
exp=1.7460565;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
187
Pass
 
%%
vd=[82 41 ];
exp=1.7129065;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
188
Pass
 
%%
vd=[199 31 ];
exp=0.2197751;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
189
Pass
 
%%
vd=[93 71 ];
exp=2.3071761;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
190
Pass
 
%%
vd=[300 5540 ];
exp=18.5513095;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
191
Pass
 
%%
vd=[126 41 ];
exp=0.7251166;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
192
Pass
 
%%
vd=[300 4260 ];
exp=13.8184496;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
193
Pass
 
%%
vd=[300 440 ];
exp=1.3730779;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
194
Pass
 
%%
vd=[300 3130 ];
exp=9.9634881;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
195
Pass
 
%%
vd=[145 61 ];
exp=0.8146500;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
196
Pass
 
%%
vd=[300 1170 ];
exp=3.6596870;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
197
Pass
 
%%
vd=[200 4081 ];
exp=44.4955953;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
198
Pass
 
%%
vd=[271 41 ];
exp=0.1567351;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
199
Pass
 
%%
vd=[300 1490 ];
exp=4.6685979;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
200
Pass
 
%%
vd=[291 21 ];
exp=0.0696230;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
201
Pass
 
%%
vd=[139 51 ];
exp=0.7411528;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
202
Pass
 
%%
vd=[53 51 ];
exp=5.1245500;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
203
Pass
 
%%
vd=[42 71 ];
exp=11.6156650;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
204
Pass
 
%%
vd=[243 91 ];
exp=0.4326773;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
205
Pass
 
%%
vd=[300 4430 ];
exp=14.4204070;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
206
Pass
 
%%
vd=[210 11 ];
exp=0.0700282;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
207
Pass
 
%%
vd=[112 61 ];
exp=1.3657683;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
208
Pass
 
%%
vd=[219 31 ];
exp=0.1814659;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
209
Pass
 
%%
vd=[300 4910 ];
exp=16.1599009;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
210
Pass
 
%%
vd=[44 11 ];
exp=1.5959920;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
211
Pass
 
%%
vd=[192 11 ];
exp=0.0837741;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
212
Pass
 
%%
vd=[276 71 ];
exp=0.2616766;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
213
Pass
 
%%
vd=[75 91 ];
exp=4.5611459;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
214
Pass
 
%%
vd=[166 21 ];
exp=0.2139567;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
215
Pass
 
%%
vd=[195 41 ];
exp=0.3027202;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
216
Pass
 
%%
vd=[116 81 ];
exp=1.6909858;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
217
Pass
 
%%
vd=[282 8114 ];
exp=44.6253583;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
218
Pass
 
%%
vd=[37 11 ];
exp=2.2581760;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
219
Pass
 
%%
vd=[300 1910 ];
exp=6.0019356;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
220
Pass
 
%%
vd=[182 1 ];
exp=0.0084757;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
221
Pass
 
%%
vd=[176 21 ];
exp=0.1903338;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
222
Pass
 
%%
vd=[120 1 ];
exp=0.0194965;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
223
Pass
 
%%
vd=[300 1320 ];
exp=4.1319681;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
224
Pass
 
%%
vd=[298 9061 ];
exp=44.6614758;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
225
Pass
 
%%
vd=[300 7700 ];
exp=28.4881098;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
226
Pass
 
%%
vd=[79 636 ];
exp=43.5312934;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
227
Pass
 
%%
vd=[300 5280 ];
exp=17.5474818;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
228
Pass
 
%%
vd=[227 31 ];
exp=0.1689006;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
229
Pass
 
%%
vd=[275 41 ];
exp=0.1522086;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
230
Pass
 
%%
vd=[171 1 ];
exp=0.0096012;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
231
Pass
 
%%
vd=[229 91 ];
exp=0.4872031;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
232
Pass
 
%%
vd=[200 1 ];
exp=0.0070187;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
233
Pass
 
%%
vd=[147 41 ];
exp=0.5327126;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
234
Pass
 
%%
vd=[169 31 ];
exp=0.3047300;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
235
Pass
 
%%
vd=[133 41 ];
exp=0.6507837;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
236
Pass
 
%%
vd=[300 1150 ];
exp=3.5967945;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
237
Pass
 
%%
vd=[147 1 ];
exp=0.0129922;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
238
Pass
 
%%
vd=[144 51 ];
exp=0.6905672;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
239
Pass
 
%%
vd=[30 51 ];
exp=16.8668385;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
240
Pass
 
%%
vd=[217 4805 ];
exp=45.0000000;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
241
Pass
 
%%
vd=[131 1 ];
exp=0.0163597;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
242
Pass
 
%%
vd=[58 41 ];
exp=3.4299252;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
243
Pass
 
%%
vd=[116 61 ];
exp=1.2731382;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
244
Pass
 
%%
vd=[43 1 ];
exp=0.1518392;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
245
Pass
 
%%
vd=[167 21 ];
exp=0.2114020;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
246
Pass
 
%%
vd=[295 31 ];
exp=0.1000086;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
247
Pass
 
%%
vd=[217 51 ];
exp=0.3040728;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
248
Pass
 
%%
vd=[300 7220 ];
exp=25.9148699;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
249
Pass
 
%%
vd=[25 51 ];
exp=26.5497777;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
250
Pass
 
%%
vd=[300 3620 ];
exp=11.6073520;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
251
Pass
 
%%
vd=[67 31 ];
exp=1.9402732;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
252
Pass
 
%%
vd=[300 31 ];
exp=0.0967027;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
253
Pass
 
%%
vd=[300 8610 ];
exp=34.8206771;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
254
Pass
 
%%
vd=[81 91 ];
exp=3.9060385;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
255
Pass
 
%%
vd=[57 31 ];
exp=2.6826598;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
256
Pass
 
%%
vd=[300 180 ];
exp=0.5615346;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
257
Pass
 
%%
vd=[73 81 ];
exp=4.2832883;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
258
Pass
 
%%
vd=[201 21 ];
exp=0.1459311;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
259
Pass
 
%%
vd=[68 11 ];
exp=0.6679330;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
260
Pass
 
%%
vd=[159 51 ];
exp=0.5663996;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
261
Pass
 
%%
vd=[204 1 ];
exp=0.0067462;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
262
Pass
 
%%
vd=[189 81 ];
exp=0.6366722;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
263
Pass
 
%%
vd=[300 590 ];
exp=1.8417362;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
264
Pass
 
%%
vd=[149 61 ];
exp=0.7714868;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
265
Pass
 
%%
vd=[300 8980 ];
exp=38.9553303;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
266
Pass
 
%%
vd=[216 11 ];
exp=0.0661918;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
267
Pass
 
%%
vd=[119 91 ];
exp=1.8053178;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
268
Pass
 
%%
vd=[125 81 ];
exp=1.4560313;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
269
Pass
 
%%
vd=[300 6750 ];
exp=23.6536081;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
270
Pass
 
%%
vd=[300 790 ];
exp=2.4674046;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
271
Pass
 
%%
vd=[300 4520 ];
exp=14.7419107;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
272
Pass
 
%%
vd=[300 6830 ];
exp=24.0242561;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
273
Pass
 
%%
vd=[94 51 ];
exp=1.6213062;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
274
Pass
 
%%
vd=[75 21 ];
exp=1.0483648;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
275
Pass
 
%%
vd=[300 5630 ];
exp=18.9049816;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
276
Pass
 
%%
vd=[86 71 ];
exp=2.6991243;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
277
Pass
 
%%
vd=[43 31 ];
exp=4.7284323;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
278
Pass
 
%%
vd=[193 31 ];
exp=0.2336526;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
279
Pass
 
%%
vd=[259 31 ];
exp=0.1297425;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
280
Pass
 
%%
vd=[287 21 ];
exp=0.0715772;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
281
Pass
 
%%
vd=[300 6870 ];
exp=24.2115915;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
282
Pass
 
%%
vd=[57 41 ];
exp=3.5519442;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
283
Pass
 
%%
vd=[239 11 ];
exp=0.0540650;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
284
Pass
 
%%
vd=[192 71 ];
exp=0.5407548;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
285
Pass
 
%%
vd=[300 8470 ];
exp=33.6315148;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
286
Pass
 
%%
vd=[77 61 ];
exp=2.8933815;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
287
Pass
 
%%
vd=[105 1125 ];
exp=45.0000000;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
288
Pass
 
%%
vd=[300 9183 ];
exp=44.6530547;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
289
Pass
 
%%
vd=[300 7170 ];
exp=25.6638839;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
290
Pass
 
%%
vd=[300 5560 ];
exp=18.6296154;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
291
Pass
 
%%
vd=[300 980 ];
exp=3.0628800;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
292
Pass
 
%%
vd=[145 91 ];
exp=1.2154985;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
293
Pass
 
%%
vd=[300 5820 ];
exp=19.6630507;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
294
Pass
 
%%
vd=[32 61 ];
exp=17.8587444;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
295
Pass
 
%%
vd=[300 5270 ];
exp=17.5093740;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
296
Pass
 
%%
vd=[237 31 ];
exp=0.1549479;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
297
Pass
 
%%
vd=[168 1 ];
exp=0.0099472;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
298
Pass
 
%%
vd=[41 71 ];
exp=12.2256701;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
299
Pass
 
%%
vd=[207 11 ];
exp=0.0720728;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
300
Pass
 
%%
vd=[250 61 ];
exp=0.2740155;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
301
Pass
 
%%
vd=[300 51 ];
exp=0.1590921;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
302
Pass
 
%%
vd=[161 51 ];
exp=0.5524132;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
303
Pass
 
%%
vd=[265 1 ];
exp=0.0039979;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
304
Pass
 
%%
vd=[246 21 ];
exp=0.0974246;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
305
Pass
 
%%
vd=[195 61 ];
exp=0.4503988;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
306
Pass
 
%%
vd=[160 2612 ];
exp=44.6077195;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
307
Pass
 
%%
vd=[300 6150 ];
exp=21.0206716;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
308
Pass
 
%%
vd=[83 21 ];
exp=0.8559461;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
309
Pass
 
%%
vd=[160 61 ];
exp=0.6690338;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
310
Pass
 
%%
vd=[156 61 ];
exp=0.7037899;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
311
Pass
 
%%
vd=[162 1 ];
exp=0.0106977;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
312
Pass
 
%%
vd=[166 61 ];
exp=0.6215362;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
313
Pass
 
%%
vd=[107 51 ];
exp=1.2510059;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
314
Pass
 
%%
vd=[215 41 ];
exp=0.2490182;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
315
Pass
 
%%
vd=[212 91 ];
exp=0.5684822;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
316
Pass
 
%%
vd=[84 61 ];
exp=2.4300259;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
317
Pass
 
%%
vd=[300 6630 ];
exp=23.1071658;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
318
Pass
 
%%
vd=[119 61 ];
exp=1.2097168;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
319
Pass
 
%%
vd=[7 1 ];
exp=5.7684795;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
320
Pass
 
%%
vd=[300 6730 ];
exp=23.5617578;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
321
Pass
 
%%
vd=[300 2860 ];
exp=9.0724806;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
322
Pass
 
%%
vd=[274 21 ];
exp=0.0785303;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
323
Pass
 
%%
vd=[300 1510 ];
exp=4.7318359;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
324
Pass
 
%%
vd=[42 21 ];
exp=3.3498826;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
325
Pass
 
%%
vd=[300 5220 ];
exp=17.3193640;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
326
Pass
 
%%
vd=[300 8670 ];
exp=35.3730578;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
327
Pass
 
%%
vd=[18 31 ];
exp=34.8306447;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
328
Pass
 
%%
vd=[300 8540 ];
exp=34.2104815;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
329
Pass
 
%%
vd=[256 21 ];
exp=0.0899619;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
330
Pass
 
%%
vd=[91 71 ];
exp=2.4099422;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
331
Pass
 
%%
vd=[247 51 ];
exp=0.2346928;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
332
Pass
 
%%
vd=[56 21 ];
exp=1.8813698;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
333
Pass
 
%%
vd=[135 91 ];
exp=1.4023810;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
334
Pass
 
%%
vd=[300 3930 ];
exp=12.6682378;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
335
Pass
 
%%
vd=[97 41 ];
exp=1.2237457;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
336
Pass
 
%%
vd=[280 8000 ];
exp=45.0000000;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
337
Pass
 
%%
vd=[280 41 ];
exp=0.1468211;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
338
Pass
 
%%
vd=[147 21 ];
exp=0.2728412;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
339
Pass
 
%%
vd=[23 11 ];
exp=5.8790664;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
340
Pass
 
%%
vd=[139 1 ];
exp=0.0145308;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
341
Pass
 
%%
vd=[78 620 ];
exp=43.5307164;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
342
Pass
 
%%
vd=[250 41 ];
exp=0.1841728;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
343
Pass
 
%%
vd=[69 41 ];
exp=2.4205902;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
344
Pass
 
%%
vd=[300 2730 ];
exp=8.6467533;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
345
Pass
 
%%
vd=[141 91 ];
exp=1.2854868;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
346
Pass
 
%%
vd=[300 3800 ];
exp=12.2211854;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
347
Pass
 
%%
vd=[290 11 ];
exp=0.0367211;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
348
Pass
 
%%
vd=[276 21 ];
exp=0.0773963;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
349
Pass
 
%%
vd=[105 11 ];
exp=0.2801172;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
350
Pass
 
%%
vd=[238 81 ];
exp=0.4014801;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
351
Pass
 
%%
vd=[200 91 ];
exp=0.6387576;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
352
Pass
 
%%
vd=[293 41 ];
exp=0.1340815;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
353
Pass
 
%%
vd=[299 9122 ];
exp=44.6851269;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
354
Pass
 
%%
vd=[21 1 ];
exp=0.6366722;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
355
Pass
 
%%
vd=[36 91 ];
exp=21.7406299;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
356
Pass
 
%%
vd=[270 7438 ];
exp=44.5863296;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
357
Pass
 
%%
vd=[300 5870 ];
exp=19.8652679;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
358
Pass
 
%%
vd=[125 21 ];
exp=0.3773380;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
359
Pass
 
%%
vd=[132 81 ];
exp=1.3055882;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
360
Pass
 
%%
vd=[300 4510 ];
exp=14.7060881;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
361
Pass
 
%%
vd=[111 91 ];
exp=2.0753631;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
362
Pass
 
%%
vd=[176 11 ];
exp=0.0996981;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
363
Pass
 
%%
vd=[76 81 ];
exp=3.9496009;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
364
Pass
 
%%
vd=[183 51 ];
exp=0.4275657;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
365
Pass
 
%%
vd=[144 41 ];
exp=0.5551429;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
366
Pass
 
%%
vd=[111 11 ];
exp=0.2506519;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
367
Pass
 
%%
vd=[232 21 ];
exp=0.1095376;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
368
Pass
 
%%
vd=[153 2388 ];
exp=44.3197033;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
369
Pass
 
%%
vd=[264 41 ];
exp=0.1651571;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
370
Pass
 
%%
vd=[203 1 ];
exp=0.0068128;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
371
Pass
 
%%
vd=[206 1 ];
exp=0.0066158;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
372
Pass
 
%%
vd=[190 41 ];
exp=0.3188632;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
373
Pass
 
%%
vd=[67 51 ];
exp=3.1962494;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
374
Pass
 
%%
vd=[59 21 ];
exp=1.6946784;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
375
Pass
 
%%
vd=[300 8380 ];
exp=32.9257979;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
376
Pass
 
%%
vd=[108 51 ];
exp=1.2279321;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
377
Pass
 
%%
vd=[267 7274 ];
exp=44.7042055;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
378
Pass
 
%%
vd=[298 21 ];
exp=0.0663905;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
379
Pass
 
%%
vd=[300 9070 ];
exp=40.4879078;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
380
Pass
 
%%
vd=[247 31 ];
exp=0.1426554;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
381
Pass
 
%%
vd=[300 1580 ];
exp=4.9533543;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
382
Pass
 
%%
vd=[300 310 ];
exp=0.9672092;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
383
Pass
 
%%
vd=[246 91 ];
exp=0.4221877;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
384
Pass
 
%%
vd=[110 81 ];
exp=1.8807470;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
385
Pass
 
%%
vd=[189 1 ];
exp=0.0078595;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
386
Pass
 
%%
vd=[299 91 ];
exp=0.2857755;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
387
Pass
 
%%
vd=[300 4820 ];
exp=15.8288860;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
388
Pass
 
%%
vd=[184 41 ];
exp=0.3399986;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
389
Pass
 
%%
vd=[173 81 ];
exp=0.7599105;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
390
Pass
 
%%
vd=[201 61 ];
exp=0.4239087;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
391
Pass
 
%%
vd=[300 1820 ];
exp=5.7152103;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
392
Pass
 
%%
vd=[130 41 ];
exp=0.6811720;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
393
Pass
 
%%
vd=[65 71 ];
exp=4.7395084;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
394
Pass
 
%%
vd=[192 91 ];
exp=0.6931066;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
395
Pass
 
%%
vd=[136 1887 ];
exp=44.4506934;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
396
Pass
 
%%
vd=[171 51 ];
exp=0.4896861;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
397
Pass
 
%%
vd=[236 91 ];
exp=0.4587274;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
398
Pass
 
%%
vd=[173 31 ];
exp=0.2908008;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
399
Pass
 
%%
vd=[35 41 ];
exp=9.5737143;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
400
Pass
 
%%
vd=[300 9020 ];
exp=39.5832887;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
401
Pass
 
%%
vd=[296 91 ];
exp=0.2915978;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
402
Pass
 
%%
vd=[33 41 ];
exp=10.8258185;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
403
Pass
 
%%
vd=[300 4110 ];
exp=13.2927675;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
404
Pass
 
%%
vd=[277 1 ];
exp=0.0036590;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
405
Pass
 
%%
vd=[254 31 ];
exp=0.1349008;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
406
Pass
 
%%
vd=[82 81 ];
exp=3.3899244;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
407
Pass
 
%%
vd=[54 21 ];
exp=2.0235395;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
408
Pass
 
%%
vd=[54 91 ];
exp=8.9040499;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
409
Pass
 
%%
vd=[85 71 ];
exp=2.7632032;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
410
Pass
 
%%
vd=[14 1 ];
exp=1.4329920;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
411
Pass
 
%%
vd=[170 81 ];
exp=0.7869742;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
412
Pass
 
%%
vd=[42 51 ];
exp=8.2296248;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
413
Pass
 
%%
vd=[35 125 ];
exp=45.0000000;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
414
Pass
 
%%
vd=[300 3390 ];
exp=10.8310888;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
415
Pass
 
%%
vd=[122 81 ];
exp=1.5285870;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
416
Pass
 
%%
vd=[74 31 ];
exp=1.5901570;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
417
Pass
 
%%
vd=[300 8170 ];
exp=31.4129069;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
418
Pass
 
%%
vd=[300 1660 ];
exp=5.2068859;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
419
Pass
 
%%
vd=[134 41 ];
exp=0.6411051;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
420
Pass
 
%%
vd=[184 3454 ];
exp=44.4258154;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
421
Pass
 
%%
vd=[143 81 ];
exp=1.1123483;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
422
Pass
 
%%
vd=[67 91 ];
exp=5.7294046;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
423
Pass
 
%%
vd=[208 41 ];
exp=0.2660616;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
424
Pass
 
%%
vd=[169 81 ];
exp=0.7963175;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
425
Pass
 
%%
vd=[213 11 ];
exp=0.0680695;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
426
Pass
 
%%
vd=[152 61 ];
exp=0.7413270;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
427
Pass
 
%%
vd=[259 21 ];
exp=0.0878899;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
428
Pass
 
%%
vd=[174 71 ];
exp=0.6584409;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
429
Pass
 
%%
vd=[242 41 ];
exp=0.1965510;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
430
Pass
 
%%
vd=[265 31 ];
exp=0.1239339;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
431
Pass
 
%%
vd=[300 6930 ];
exp=24.4952155;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
432
Pass
 
%%
vd=[177 1 ];
exp=0.0089613;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
433
Pass
 
%%
vd=[300 8630 ];
exp=35.0015489;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
434
Pass
 
%%
vd=[281 8057 ];
exp=44.7766386;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
435
Pass
 
%%
vd=[300 4450 ];
exp=14.4916789;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
436
Pass
 
%%
vd=[257 51 ];
exp=0.2167838;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
437
Pass
 
%%
vd=[300 7210 ];
exp=25.8644501;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
438
Pass
 
%%
vd=[300 8110 ];
exp=31.0086245;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
439
Pass
 
%%
vd=[120 31 ];
exp=0.6044357;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
440
Pass
 
%%
vd=[300 4010 ];
exp=12.9449893;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
441
Pass
 
%%
vd=[85 737 ];
exp=44.2615751;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
442
Pass
 
%%
vd=[287 1 ];
exp=0.0034084;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
443
Pass
 
%%
vd=[300 6900 ];
exp=24.3530039;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
444
Pass
 
%%
vd=[107 81 ];
exp=1.9878552;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
445
Pass
 
%%
vd=[73 91 ];
exp=4.8168446;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
446
Pass
 
%%
vd=[300 5830 ];
exp=19.7034001;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
447
Pass
 
%%
vd=[125 51 ];
exp=0.9165221;
theta=Cannon(vd(1),vd(2));
assert(abs(theta-exp)<2e-6)

                    
448
Fail