Formula for Velocity/Angle compare?

May 2010
2
0
(STILL UNSLOVED)Formula for Velocity/Angle compare?

Okay I have this table:
Code:
Angle(in degrees)	| Xvelocity		,Yvelocity	(in ~procents)
------------------------+-------------------------------------------------------
0  			| 100			,0
15 			| 83			,16.6
30 			| 66.4			,33.2
45 			| 50			,50
60 			| 33.2  		,66.4
75 			| 16.6  		,83
90 			| 0			,100
105			| -16.6			,83
120			| -33.2			,66.4
135			| -50			,50
150			| -66.4			,33.2
165			| -83			,16.6
180			| -100			,0
195			| -83			,-16.6
210			| -66.4			,-33.2
225			| -50			,-50
240			| -66.4			,33.2
255			| -83			,16.6
270			| 0			,-100
285			| 16.6			,-83
300			| 33.2			,-66.4
315			| 50			,-50
330			| 66.4			,-32.2
345			| 83			,-16.6
0  			| 100			,0
only thing i can see that between
0 - 90 the sum is 100
and the others...
And I am stuck as i don't want to make 359 statements but a formula, or 2 :)
I think i did harder thing but i just can't do this Oo... I have no Idea if i have to use sinus or whatever ... eh.
I hope somebody can help me out :)
already thanks.
 
Last edited:
May 2010
22
10
the first number could be cos(x)^3/abs(cos(x))
The second one: sin(x)^3/abs(sin(x))
the division is just to get the sign but then it won't work when cosx or sinx =0
 
May 2010
2
0
the first number could be cos(x)^3/abs(cos(x))
The second one: sin(x)^3/abs(sin(x))
the division is just to get the sign but then it won't work when cosx or sinx =0
well maybe when cos = 360 ;d , i'll try.

__edit___

Code:
 0 X: 100.000000 , Y: 0.000000
 1 X: 29.192655 , Y: 70.807334
 2 X: -17.317819 , Y: 82.682174
 3 X: -98.008514 , Y: 1.991485
 4 X: -42.724998 , Y: -57.275001
 5 X: 8.046424 , Y: -91.953582
 6 X: 92.192687 , Y: -7.807301
 7 X: 56.836860 , Y: 43.163139
 8 X: -2.117026 , Y: 97.882972
 9 X: -83.015830 , Y: 16.984167
 10 X: -70.404098 , Y: -29.595899
 11 X: 0.001958 , Y: -99.998046
 12 X: 71.208946 , Y: -28.791051
 13 X: 82.345970 , Y: 17.654033
 14 X: 1.869706 , Y: 98.130294
 15 X: -57.712566 , Y: 42.287429
 16 X: -91.711166 , Y: -8.288831
 17 X: -7.571486 , Y: -92.428512
 18 X: 43.601818 , Y: -56.398181
 19 X: 97.753677 , Y: 2.246317
 20 X: 16.653097 , Y: 83.346908
 21 X: -30.000734 , Y: 69.999267
 22 X: -99.992164 , Y: -0.007834
 23 X: -28.391105 , Y: -71.608909
 24 X: 17.992784 , Y: -82.007225
 25 X: 98.248306 , Y: -1.751698
 26 X: 41.850456 , Y: 58.149539
 27 X: -8.534507 , Y: 91.465499
 28 X: -92.661003 , Y: 7.338994
 29 X: -55.959011 , Y: -44.040992
 30 X: 2.379351 , Y: -97.620651
 31 X: 83.675361 , Y: -16.324642
 32 X: 69.592872 , Y: 30.407138
 33 X: -0.017627 , Y: 99.982368
 34 X: -72.007148 , Y: 27.992851
 35 X: -81.665954 , Y: -18.334037
 36 X: -1.637470 , Y: -98.362525
 37 X: 58.585865 , Y: -41.414131
 38 X: 91.216567 , Y: 8.783432
 39 X: 7.109845 , Y: 92.890151
 40 X: -44.480636 , Y: 55.519359
 41 X: -97.483879 , Y: -2.516115
 42 X: -15.998824 , Y: -84.001174
 43 X: 30.815080 , Y: -69.184921
 44 X: 99.968658 , Y: 0.031335
 45 X: 27.596315 , Y: 72.403678
 46 X: -18.677776 , Y: 81.322219
 47 X: -98.472969 , Y: 1.527031
 48 X: -40.978477 , Y: -59.021522
 49 X: 9.035587 , Y: -90.964416
 50 X: 93.115936 , Y: -6.884055
 51 X: 55.079288 , Y: 44.920719
 52 X: -2.656599 , Y: 97.343399
 53 X: -84.324333 , Y: 15.675672
 54 X: -68.775474 , Y: -31.224521
 55 X: 0.048959 , Y: -99.951034
 56 X: 72.798454 , Y: -27.201545
 57 X: 80.976036 , Y: 19.023971
 58 X: 1.420390 , Y: 98.579612
 59 X: -59.456466 , Y: 40.543529
 60 X: -90.709045 , Y: -9.290950
 61 X: -6.661645 , Y: -93.338356
 62 X: 45.361186 , Y: -54.638809
 63 X: 97.199211 , Y: 2.800792
 64 X: 15.355208 , Y: 84.644790
 65 X: -31.635433 , Y: 68.364562
 66 X: -99.929496 , Y: -0.070496
 67 X: -26.808559 , Y: -73.191436
 68 X: 19.372587 , Y: -80.627418
 69 X: 98.682441 , Y: -1.317555
 70 X: 40.109321 , Y: 59.890674
 71 X: -9.549504 , Y: 90.450492
 72 X: -93.557373 , Y: 6.442630
 73 X: -54.197971 , Y: -45.802028
 74 X: 2.948684 , Y: -97.051322
 75 X: 84.962539 , Y: -15.037460
 76 X: 67.952217 , Y: 32.047782
 77 X: -0.095945 , Y: 99.904060
 78 X: -73.582618 , Y: 26.417388
 79 X: -80.276390 , Y: -19.723606
 80 X: -1.218534 , Y: -98.781471
 81 X: 60.324108 , Y: -39.675888
 82 X: 90.188774 , Y: 9.811227
 83 X: 6.227027 , Y: 93.772979
 84 X: -46.243198 , Y: 53.756801
 85 X: -96.899742 , Y: -3.100262
 86 X: -14.722448 , Y: -85.277549
 87 X: 32.461540 , Y: -67.538452
 88 X: 99.874694 , Y: 0.125303
 89 X: 26.028060 , Y: 73.971931
 90 X: -20.076997 , Y: 79.922996
 91 X: -98.876663 , Y: 1.123335
 92 X: -39.243267 , Y: -60.756736
 93 X: 10.076098 , Y: -89.923896
 94 X: 93.985145 , Y: -6.014853
 95 X: 53.315345 , Y: 46.684654
 96 X: -3.255514 , Y: 96.744483
 97 X: -85.589797 , Y: 14.410203
 98 X: -67.123321 , Y: -32.876678
 99 X: 0.158570 , Y: -99.841430
 100 X: 74.359390 , Y: -25.640615
 101 X: 79.567268 , Y: 20.432731
 102 X: 1.031965 , Y: 98.968032
 103 X: -61.188518 , Y: 38.811485
 104 X: -89.655899 , Y: -10.344097
 105 X: -5.806126 , Y: -94.193870
 106 X: 47.126380 , Y: -52.873622
 107 X: 96.585563 , Y: 3.414429
 108 X: 14.100745 , Y: 85.899253
 109 X: -33.293148 , Y: 66.706848
 110 X: -99.804260 , Y: -0.195741
 111 X: -25.255081 , Y: -74.744918
 112 X: 20.790782 , Y: -79.209213
 113 X: 99.055564 , Y: -0.944432
 114 X: 38.380577 , Y: 61.619422
 115 X: -10.615202 , Y: 89.384803
 116 X: -94.399139 , Y: 5.600861
 117 X: -52.431671 , Y: -47.568325
 118 X: 3.576993 , Y: -96.423011
 119 X: 86.205902 , Y: -13.794101
 120 X: 66.289070 , Y: 33.710937
 121 X: -0.236814 , Y: 99.763191
 122 X: -75.128524 , Y: 24.871482
 123 X: -78.848876 , Y: -21.151121
 124 X: -0.860742 , Y: -99.139259
 125 X: 62.049419 , Y: -37.950584
 126 X: 89.110610 , Y: 10.889394
 127 X: 5.399075 , Y: 94.600929
 128 X: -48.010463 , Y: 51.989532
 129 X: -96.256797 , Y: -3.743195
 130 X: -13.490292 , Y: -86.509704
 131 X: 34.129997 , Y: -65.870002
 132 X: 99.718208 , Y: 0.281786
 133 X: 24.489850 , Y: 75.510147
 134 X: -21.513721 , Y: 78.486282
 135 X: -99.219093 , Y: 0.780902
 136 X: -37.521533 , Y: -62.478469
 137 X: 11.166650 , Y: -88.833358
 138 X: 94.799217 , Y: -5.200783
 139 X: 51.547248 , Y: 48.452754
 140 X: -3.913021 , Y: 96.086975
 141 X: -86.810653 , Y: 13.189344
 142 X: -65.449699 , Y: -34.550296
 143 X: 0.330654 , Y: -99.669349
 144 X: 75.889778 , Y: -24.110221
 145 X: 78.121452 , Y: 21.878551
 146 X: 0.704918 , Y: 99.295082
 147 X: -62.906539 , Y: 37.093460
 148 X: -88.553054 , Y: -11.446949
 149 X: -5.006000 , Y: -94.993995
 150 X: 48.895168 , Y: -51.104824
 151 X: 95.913543 , Y: 4.086457
 152 X: 12.891279 , Y: 87.108718
 153 X: -34.971813 , Y: 65.028190
 154 X: -99.616584 , Y: -0.383412
 155 X: -23.732618 , Y: -76.267387
 156 X: 22.245588 , Y: -77.754417
 157 X: 99.367210 , Y: -0.632797
 158 X: 36.666400 , Y: 63.333599
 159 X: -11.730268 , Y: 88.269729
 160 X: -95.185264 , Y: 4.814744
 161 X: -50.662334 , Y: -49.337669
 162 X: 4.263491 , Y: -95.736511
 163 X: 87.403877 , Y: -12.596121
 164 X: 64.605499 , Y: 35.394504
 165 X: -0.440058 , Y: 99.559936
 166 X: -76.642921 , Y: 23.357074
 167 X: -77.385208 , Y: -22.614795
 168 X: -0.564543 , Y: -99.435462
 169 X: 63.759613 , Y: -36.240386
 170 X: 87.983421 , Y: 12.016585
 171 X: 4.627027 , Y: 95.372978
 172 X: -49.780227 , Y: 50.219772
 173 X: -95.555892 , Y: -4.444108
 174 X: -12.303895 , Y: -87.696105
 175 X: 35.818336 , Y: -64.181663
 176 X: 99.499420 , Y: 0.500587
 177 X: 22.983617 , Y: 77.016380
 178 X: -22.986150 , Y: 77.013847
 179 X: -99.499839 , Y: 0.500162
 180 X: -35.815448 , Y: -64.184555
 181 X: 12.305878 , Y: -87.694114
 182 X: 95.557136 , Y: -4.442866
 183 X: 49.777206 , Y: 50.222789
 184 X: -4.628294 , Y: 95.371704
 185 X: -87.985382 , Y: 12.014624
 186 X: -63.756721 , Y: -36.243286
 187 X: 0.564995 , Y: -99.435005
 188 X: 77.387725 , Y: -22.612277
 189 X: 76.640380 , Y: 23.359622
 190 X: 0.439659 , Y: 99.560340
 191 X: -64.608375 , Y: 35.391616
 192 X: -87.401878 , Y: -12.598122
 193 X: -4.262272 , Y: -95.737716
 194 X: 50.665344 , Y: -49.334655
 195 X: 95.183967 , Y: 4.816034
 196 X: 11.728326 , Y: 88.271675
 197 X: -36.669303 , Y: 63.330696
 198 X: -99.366729 , Y: -0.633275
 199 X: -22.243080 , Y: -77.756919
 200 X: 23.735185 , Y: -76.264816
 201 X: 99.616958 , Y: -0.383040
 202 X: 34.968933 , Y: 65.031066
 203 X: -12.893300 , Y: 87.106697
 204 X: -95.914741 , Y: 4.085264
 205 X: -48.892150 , Y: -51.107849
 206 X: 5.007316 , Y: -94.992683
 207 X: 88.554969 , Y: -11.445030
 208 X: 62.903625 , Y: 37.096370
 209 X: -0.705423 , Y: 99.294578
 210 X: -78.123939 , Y: 21.876060
 211 X: -75.887207 , Y: -24.112800
 212 X: -0.330308 , Y: -99.669685
 213 X: 65.452560 , Y: -34.547431
 214 X: 86.808616 , Y: 13.191384
 215 X: 3.911852 , Y: 96.088150
 216 X: -51.550258 , Y: 48.449745
 217 X: -94.797866 , Y: -5.202122
 218 X: -11.164751 , Y: -88.835258
 219 X: 37.524456 , Y: -62.475551
 220 X: 99.218566 , Y: 0.781433
 221 X: 21.511245 , Y: 78.488761
 222 X: -24.492444 , Y: 75.507560
 223 X: -99.718528 , Y: 0.281467
 224 X: -34.127132 , Y: -65.872871
 225 X: 13.492353 , Y: -86.507652
 226 X: 96.257942 , Y: -3.742051
 227 X: 48.007450 , Y: 51.992553
 228 X: -5.400437 , Y: 94.599555
 229 X: -89.112487 , Y: 10.887516
 230 X: -62.046485 , Y: -37.953506
 231 X: 0.861299 , Y: -99.138702
 232 X: 78.851348 , Y: -21.148658
 233 X: 75.125907 , Y: 24.874086
 234 X: 0.236521 , Y: 99.763473
 235 X: -66.291915 , Y: 33.708080
 236 X: -86.203819 , Y: -13.796178
 237 X: -3.575874 , Y: -96.424118
 238 X: 52.434688 , Y: -47.565311
 239 X: 94.397750 , Y: 5.602248
 240 X: 10.613347 , Y: 89.386657
 241 X: -38.383510 , Y: 61.616485
 242 X: -99.054977 , Y: -0.945015
 243 X: -20.788333 , Y: -79.211662
 244 X: 25.257698 , Y: -74.742301
 245 X: 99.804519 , Y: -0.195475
 246 X: 33.290309 , Y: 66.709693
 247 X: -14.102845 , Y: 85.897155
 248 X: -96.586669 , Y: 3.413334
 249 X: -47.123367 , Y: -52.876632
 250 X: 5.807536 , Y: -94.192466
 251 X: 89.657745 , Y: -10.342260
 252 X: 61.185585 , Y: 38.814418
 253 X: -1.032574 , Y: 98.967430
 254 X: -79.569702 , Y: 20.430297
 255 X: -74.356758 , Y: -25.643249
 256 X: -0.158330 , Y: -99.841674
 257 X: 67.126152 , Y: -32.873840
 258 X: 85.587677 , Y: 14.412321
 259 X: 3.254444 , Y: 96.745552
 260 X: -53.318351 , Y: 46.681648
 261 X: -93.983711 , Y: -6.016286
 262 X: -10.074283 , Y: -89.925727
 263 X: 39.246208 , Y: -60.753791
 264 X: 98.876029 , Y: 1.123970
 265 X: 20.074579 , Y: 79.925422
 266 X: -26.030704 , Y: 73.969291
 267 X: -99.874908 , Y: 0.125090
 268 X: -32.458721 , Y: -67.541275
 269 X: 14.724585 , Y: -85.275421
 270 X: 96.900787 , Y: -3.099217
 271 X: 46.240188 , Y: 53.759807
 272 X: -6.228483 , Y: 93.771522
 273 X: -90.190567 , Y: 9.809432
 274 X: -60.321163 , Y: -39.678840
 275 X: 1.219195 , Y: -98.780807
 276 X: 80.278793 , Y: -19.721206
 277 X: 73.579963 , Y: 26.420038
 278 X: 0.095758 , Y: 99.904235
 279 X: -67.955024 , Y: 32.044971
 280 X: -84.960380 , Y: -15.039615
 281 X: -2.947664 , Y: -97.052330
 282 X: 54.200977 , Y: -45.799022
 283 X: 93.555892 , Y: 6.444109
 284 X: 9.547732 , Y: 90.452270
 285 X: -40.112274 , Y: 59.887725
 286 X: -98.681755 , Y: -1.318242
 287 X: -19.370204 , Y: -80.629791
 288 X: 26.811223 , Y: -73.188774
 289 X: 99.929664 , Y: -0.070336
 290 X: 31.632631 , Y: 68.367370
 291 X: -15.357380 , Y: 84.642616
 292 X: -97.200210 , Y: 2.799798
 293 X: -45.358184 , Y: -54.641811
 294 X: 6.663148 , Y: -93.336853
 295 X: 90.710792 , Y: -9.289201
 296 X: 59.453506 , Y: 40.546485
 297 X: -1.421103 , Y: 98.578903
 298 X: -80.978408 , Y: 19.021602
 299 X: -72.795768 , Y: -27.204223
 300 X: -0.048826 , Y: -99.951179
 301 X: 68.778274 , Y: -31.221727
 302 X: 84.322128 , Y: 15.677863
 303 X: 2.655630 , Y: 97.344375
 304 X: -55.082286 , Y: 44.917713
 305 X: -93.114418 , Y: -6.885582
 306 X: -9.033859 , Y: -90.966140
 307 X: 40.981437 , Y: -59.018562
 308 X: 98.472229 , Y: 1.527771
 309 X: 18.675426 , Y: 81.324562
 310 X: -27.599012 , Y: 72.400993
 311 X: -99.968765 , Y: 0.031229
 312 X: -30.812294 , Y: -69.187698
 313 X: 16.001035 , Y: -83.998962
 314 X: 97.484840 , Y: -2.515171
 315 X: 44.477642 , Y: 55.522365
 316 X: -7.111394 , Y: 92.888610
 317 X: -91.218276 , Y: 8.781726
 318 X: -58.582897 , Y: -41.417098
 319 X: 1.638235 , Y: -98.361763
 320 X: 81.668296 , Y: -18.331707
 321 X: 72.004440 , Y: 27.995555
 322 X: 0.017547 , Y: 99.982452
 323 X: -69.595626 , Y: 30.404365
 324 X: -83.673133 , Y: -16.326869
 325 X: -2.378432 , Y: -97.621566
 326 X: 55.961997 , Y: -44.038002
 327 X: 92.659446 , Y: 7.340567
 328 X: 8.532822 , Y: 91.467178
 329 X: -41.853435 , Y: 58.146572
 330 X: -98.247512 , Y: -1.752489
 331 X: -17.990468 , Y: -82.009529
 332 X: 28.393823 , Y: -71.606185
 333 X: 99.992218 , Y: -0.007781
 334 X: 29.997972 , Y: 70.002021
 335 X: -16.655342 , Y: 83.344650
 336 X: -97.754577 , Y: 2.245424
 337 X: -43.598823 , Y: -56.401176
 338 X: 7.573081 , Y: -92.426910
 339 X: 91.712837 , Y: -8.287170
 340 X: 57.709590 , Y: 42.290409
 341 X: -1.870523 , Y: 98.129470
 342 X: -82.348266 , Y: 17.651735
 343 X: -71.206214 , Y: -28.793781
 344 X: -0.001932 , Y: -99.998069
 345 X: 70.406845 , Y: -29.593143
 346 X: 83.013572 , Y: 16.986427
 347 X: 2.116158 , Y: 97.883842
 348 X: -56.839847 , Y: 43.160156
 349 X: -92.191078 , Y: -7.808920
 350 X: -8.044784 , Y: -91.955215
 351 X: 42.727981 , Y: -57.272018
 352 X: 98.007675 , Y: 1.992327
 353 X: 17.315536 , Y: 82.684471
 354 X: -29.195398 , Y: 70.804595
 355 X: -100.000000 , Y: -0.000000
 356 X: -29.189916 , Y: -70.810089
 357 X: 17.320098 , Y: -82.679901
 358 X: 98.009353 , Y: -1.990643
 359 X: 42.722015 , Y: 57.277976
0 X: 100.000000 , Y: 0.000000
1 X: 29.192655 , Y: 70.807334

hmm i don't think 1 degree should make this big difference :(
i supposed it to be:
0 X: 100.000000 , Y: 0.000000
1 X: 98... , Y: 2.....

eh :(
 
Last edited: